Configuring Entra ID SSO for Cortex
Users who have theConfigure OpenID Connector & SCIM permission can configure Entra ID SSO for Cortex.
Step 1: Setting up a new Entra ID application
- Log in to the Microsoft Entra Admin Center at https://entra.microsoft.com.
- From the left menu, select Overview.
- Click Add, then select App registration.
-
In the Name field, enter a descriptive name for the application, e.g.
Cortex login. - From the Supported account types drop-down menu, select Single tenant only / Accounts in this organizational directory only. Selecting this option means the SSO will only work for the given Entra ID instance—not for other organizations.
- From the Redirect URI (optional) drop-down menu, select Web.
-
In the Authorized redirect URI field, enter
https://cortexapp.auth0.com/login/callback. - Click Register. The app’s overview page is displayed.
- Copy the Application (client) ID value and store it in a secure location, as you will need this in the next steps.
Refer to the Microsoft quickstart guide for more detailed instructions on setting up an Entra ID app.
Step 2: Creating a client secret in Entra ID
- Log in to the Microsoft Entra Admin Center at https://entra.microsoft.com.
- From the left menu, select App registrations.
- Select the All applications tab, then select your app.
- Click Add a certificate or secret.
- Select the Client secrets tab.
- Click New client secret.
- In the Description field, enter a description for the secret.
- From the Expires drop-down menu, select an expiration. SSO stops working when the secret expires. Set an expiration that makes sense for your process. If you regularly rotate secrets, a shorter expiration period might make more sense. If you don’t, a longer duration ensures that SSO continues to function without interruption.
- Click Add.
- Copy the value of the secret and store it in a secure location, as you will need this in the next steps.
Step 3: Obtaining the metadata document endpoint in Entra ID
- Log in to the Microsoft Entra Admin Center at https://entra.microsoft.com.
- From the left menu, select App registrations.
- Select the All applications tab, then select your app.
- Select the Endpoints tab.
- Copy the OpenID Connect metadata document up to
/v2.0. It should be in the formathttps://login.microsoftonline.com/<uuid>/v2.0.
Step 4: Configuring SSO in Cortex
- Log in to Cortex.
- From the main sidebar, click your avatar in the bottom-left corner.
- Click Settings.
- From the Settings menu, scroll to the Security and access section, then select OpenID connector.
- Configure the form:
- From the Type drop-down menu, select Azure.
- Below Identifier, enter your client ID.
- Below Secret, enter your client secret.
- Below Issuer, enter the issuer URI.
- Do not include a backslash after
v2.0in the issuer URI! This will process as an invalid configuration for the URI.
- Do not include a backslash after
- Click Save.