Peoplevox pre & post authentication scripts

Introduction

When you install the Peoplevox connector from the Patchworks marketplace, pre and post authentication scripts are included.

Typically, you don't need to do anything with these scripts - they do what they need to do 'out of the box'. However, if you are connecting to a US region, you might need to update the pre-auth script.

What needs to be changed?

The pre-authentication script encodes passwords as Base64, which is required by most PVX regions. However, the US region requires this in plain text.

If you experience issues with authentication - usually a message like 'System : Security - Invalid Session', then you should update the pre-authentication script to remove Base64 encoding. This is a simple change, summarised below.

The Steps

Required steps are detailed in the following sections:

Stage 1: Update the Peoplevox pre-auth script

Step 1 From the Patchworks dashboard, select process flows | scripts from the left-hand navigation menu.

Step 2 From the installed section, click the pre-auth Base64 encode script name:

If you installed the Peoplevox connector from the Patchworks marketplace, this script will always be present.

Step 3 Once the script is open in edit mode, move down to the code editor and change:

base64_encode($matches[1]) 

to:

$matches[1] 

Step 4 Save and deploy the script:

Stage 2: Apply the Peoplevox pre-auth script to your connector

Step 1 From the Patchworks dashboard, select process flows | connectors & instances from the left-hand navigation menu.

Step 2 Click the settings icon associated with the Descartes Peoplevox connector:

Step 3 Select the authentication option:

Step 4 Click the SOAP Authentication method:

Step 5 Select the pre-request script tab:

Step 6 Select the latest version of the script:

Step 7 Save changes.

Last updated