Authentication
Contents
You can enable secure communications with the History REST API by completing the procedures below to implement authentication. If you do enable authentication, then all the clients of the API must use the authentication scheme and credentials. Two common clients of the API are the Genesys Web Engagement Plug-in for Interaction Workspace and the Engagement Strategy. See "Configuring Authentication in Interaction Workspace" and "Configuring Authentication in the Engagement Strategy" for details.
Configuring Authentication in the Backend Server
Complete the steps below to enable authentication for the History REST API.
Start
- In Genesys Administrator, navigate to Provisioning > Environment > Applications, select the Genesys Web Engagement Backend Server application, and click Edit....
- Click the Options tab and scroll down to the [security] section.
- Set the following options:
- Click Save & Close.
End
Configuring Authentication in Interaction Workspace
If you enable authentication for the History REST API and use the Genesys Web Engagement Plug-in for Interaction Workspace, then you must complete the steps below to enable authentication for the plug-in.
Prerequisites
- You completed "Configuring Authentication in the Backend Server".
Start
- In Genesys Administrator, navigate to Provisioning > Environment > Applications, select the Interaction Workspace application, and click Edit....
Note: Before configuring the authentication options, be sure to read about each option to help determine the correct values for your deployment: - Click the options tab and then click New.
- In the New Option window, configure the following:
- Set Section to gwe:security
- Set Name to auth-scheme
- Set Value to your authentication scheme. For example, Basic.
- Click OK
- Complete steps a-d to configure the remaining security options:
Section Name Value gwe:security user-id Your user ID. gwe:security password Your user password.
- Click Save & Close.
End
Configuring Authentication in the Default Engagement Strategy
Complete the steps below to add security credentials to the default SCXML strategy to support authentication for the REST API.
Prerequisites
- You completed "Configuring Authentication in the Backend Server".
- Your SCXML strategy uses the REST API. See Customizing the Engagement Strategy for details.
Start
- Go to \apps\application_name\_composer-project\WebEngagement_EngagementLogic\src-gen and open the default.scxml file in Composer, a text editor, or an XML editor.
- Find the variables for user and password and set your authentication credentials. For example:
var user = 'user1'; var password = 'password1';
- Save your changes.
End
Next Steps
- Return to the Genesys Web Engagement Security page.