Webchat SSO-SAML and OAuth2-SSO Integration with Auth0
This topic discusses two ways that you can set up SSO options via the Auth0 application.
In the Auth0 Dashboard:
1. Login to Auth0 dashboard (https://manage.auth0.com/dashboard/)
2. Navigate to Dashboard > Applications > Applications.
3. Click on + Create Application.
Choose one of the following two SSO options for Webchat:
SSO-SAML (Auth0)
To set up SSL-SAML (Auth0)
Set your apps Name and Select “Regular Web Applications”
4. Go directly to the Settings tab
5. Go to section “Application URIs” and set the required value in Allowed Callback URLs
Callback URLs need to be in the syntax: {vanityUrl}/aisera/ssoLoginCallback,
such as: https://acme.chatbot.aisera.cloud/aisera/ssoLoginCallback
6. Scroll to “Advanced Settings” and select the tab “Endpoints”
7. Copy the SAML Protocol URL
8. Move to the “Certificates” tab and copy the “Signing Certificate”
Setting up SSO for a channel in Admin Console
Open Aisera Admin UI and go to Settings > Channels > New Channel to set up a new Webchat channel
Under the Authentication tab, select SSO and provide: Login URL: SAML Protocol URL ACS URL: The identity provider's SSO URL used by Aisera to authenticate. Issuer: The Aisera Entity ID. If none specified, it is generated based on the cluster as 'aisera-saml-{clusterType}'. (such as, aisera-saml-staging or aisera-saml-prod) IFrame embedding: If checked then the SSO authentication form is displayed in the same window instead of opening a separate one. You may need to configure the identity provider to allow iframe embedding for this to work. Skip compression: If checked, the SAML request from Aisera will not be compressed. x509 Certificate: Signing Certificate
Finish the channel setup and add the channel to an Aisera App
Select Settings > Channels, and choose your Webchat channel.
Choose the pencil icon to open the Edit Channel window.

3. Fill in the remaining values for the SSO section and click OK.
To set up SSO-OAuth2 (Auth0)
Set your apps Name and Select Single Page Applications.

Go to the Settings tab

Go to section “Application URIs” and set the {vanityUrl} as value in Allowed Callback URLs. Need to be in the form of such as, https://acme.chatbot.aisera.cloud/

In “Cross-Origin Authentication” enable “Allow Cross-Origin Authentication“ and set the vanity url as value in “Allowed Origins (CORS)”

IMPORTANT!: In order to allow Cross-Origin Authentication the Universal Login Experience needs to be set to “Classic”.
Go to Branding > Universal Login Settings and select Classic.

Open Aisera Admin UI and go to Settings > Channels > New Channel to setup a new webchat channel.
In Authentication select SSO-Auht0 and provide
Domain: Copy from Auth0 > App > Settings
Client ID: Copy from Auth0 > App > Settings

Finish the channel setup and add the channel to an Aisera App
Last updated