Cognigy.AI integrates with popular identity providers (IdPs) to let users in your organization log in with single sign-on (SSO) without the need for individual credentials. You can use the following IdPs: For more information about about protocol-level details, see Single Sign-on with SAML 2.0.Documentation Index
Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- An account with the admin role in Cognigy.AI.
- The organization ID of your Cognigy.AI organization, referred to as
<organization-id>in the examples. You can copy this ID from the My Profile page by clicking> Copy Organization ID.
- The API base URL of your Cognigy.AI installation, referred to as
<api-base-url>in the examples. - Your Cognigy.AI URL, referred to as
<cognigy-url>in the examples. For example, for the trial environment, this URL ishttps://trial.cognigy.ai/. - An API key for sending configuration requests to the Cognigy.AI API.
- Administrator access to the IdP tenant that you want to integrate with Cognigy.AI.
- For Okta, you need an X.509 certificate. For more information, read Okta’s documentation about app certificate use.
Limitations
- An organization can have only one SSO configuration. To replace an SSO configuration, delete it, then create another one. For more information, read Change an SSO Configuration in Cognigy.AI.
- Only Microsoft Entra ID and OneLogin support single logout for Cognigy.AI.
Create an IdP App
To configure an IdP app, follow these steps:- Auth0 - OpenID Connect
- Auth0 - SAML 2.0
- Microsoft Entra ID
- Google
- Okta
- OneLogin
- Log in to the Auth0 Dashboard and select your tenant.
- In the left-side menu, go to Applications > Applications and click + Create Application.
-
Enter a name, for example,
Cognigy.AI, select Regular Web Applications as the app type, and click Create. -
Go to the Settings tab and copy the values from the fields in the Basic Information section. You will use them later to configure the IdP in Cognigy.AI:
- Domain — used in the
idpIssuerparameter in the request payload. - Client ID — used in the
idpClientIdparameter in the request payload. - Client Secret — used in the
idpClientSecretparameter in the request payload.
- Domain — used in the
-
On the Settings tab, configure the following using the API base URL and organization ID from the Prerequisites section:
- Application Login URI — enter
https://<api-base-url>/auth/oidc/callback/<organization-id>. - Allowed Callback URLs — enter
https://<api-base-url>/auth/oidc/login/callback/<organization-id>. - Allowed Logout URLs — enter
https://<api-base-url>/logout/<organization-id>. - Allowed Web Origins — enter
https://*.cognigy.ai. - Allowed Origins (CORS) — enter
https://*.cognigy.ai.
- Application Login URI — enter
Configure SSO in Cognigy.AI
After the SSO app is ready, use thePOST /v2.0/identityprovider/configure method to register the SSO configuration in Cognigy.AI.
- Auth0 - OpenID Connect
- Auth0 - SAML 2.0
- Microsoft Entra ID
- Google
- Okta
- OneLogin
Send the API request with the following parameters:
X-API-Keyheader — the API key from the Prerequisites section.idpIssuer— the Domain value you copied earlier from the Settings tab.idpClientId— the Client ID value you copied earlier from the Settings tab.idpClientSecret— the Client Secret value you copied earlier from the Settings tab.
API Request Example
API Request Example
Test the SSO Login
- On the Cognigy.AI login page, enter the email address of a user assigned to the IdP app and click Log in with SSO. Cognigy.AI redirects you to the IdP and prompts you for your IdP credentials. After authentication, the IdP redirects back to Cognigy.AI and logs you in.
- Click the user icon in the lower-left corner and select Logout.
- Enter your email address again and click Log in with SSO. This time, you are logged in directly without re-entering your IdP credentials.