Skip to content

Single Sign-on using OpenID Connect

Description

Cognigy.AI already supports SSO (Single Sign-on) through the usage of our SAML 2.0 integration.

With release v4.3.0 Cognigy has added Single Sign-on support for OpenID Connect. Customers can now select which type of strategy they want to use in order to implement their corporate SSO strategy.

How to use Open ID Connect with Auth0 as a provider read following article: Single Sign-on

How to use OpenID Connect

Want to learn how to use OpenID Connect? Have a look at Auth0 - OpenID Connect in our Help Center.

Note

"This guide covers how to setup SSO in Cognigy.AI with Auth0 as the Identity Provider using the OpenID Connect protocol. After completing this guide, your users can login to Cognigy.AI through Auth0 and will automatically have a user account created for them in Cognigy.AI that is assigned a Cognigy.AI access role as defined by the administrator in Auth0."

"When setting up SSO with Auth0, you can choose between two different SSO protocols. This article covers the OpenID Connect protocol.

For SAML 2.0, refer to the following article: Auth0 - SAML 2.0

Configuring SSO in Cognigy.AI for OpenID Connect

After configuring SSO in your identity provider, you are finally ready to create an SSO configuration for your organisation in Cognigy.AI. - see Auth0 - OpenID Connect

To do this, send a POST request to the following URL:

https://<API ADRESS>/v2.0/identityprovider/configure

And attach the following JSON payload settings to the request with your unique values (see below):

{
"idpType": "oidc",
"idpIssuer": "<DOMAIN>",
"idpClientId": "<CLIENT ID>",
"idpClientSecret": "<CLIENT SECRET>",
"idpIdTokenSignedResponseAlg": "RS256",
"idpTokenEndpointAuthMethod": "client_secret_basic"
}