Configuring Okta SSO for Cortex
Users with theConfigure OpenID Connector & SCIM permission can configure Okta SSO in Cortex.
There are two options to configure Okta SSO:
- Installing the Cortex app in the Okta Integration Network (OIN)
- This option provides a simplified setup for most standard use cases. It’s compatible with Okta SCIM provisioning features.
- Creating your own app
- This option is best if you need more flexibility in configuring redirect behavior, want to configure automatic sign-on, or if you require multiple or advanced configurations.
Configuring Okta SSO via the Cortex OIN app
Step 1: Installing the Cortex OIN app
Cortex’s OIN app configures the initial steps for Okta SSO.- Install the Cortex app from the Okta OIN.
You can also access the Cortex app from your Okta instance by navigating to Applications and selecting Cortex from the App Integration Catalog.
Step 2: Copying the client ID and client secret
- In Okta, navigate to the Applications page and select the Cortex app from your list of applications.
- Click the Sign On tab.
-
Copy the values of the client ID and client secret. Store them in a secure location, as you will need these in the next steps.
Be sure to copy the client ID and the client secret and save them for later. Do not skip this step—you can only view these values once!
Step 3: Obtaining the issuer URI
In Okta, each authorization server has a unique issuer URI. See Okta’s instructions for information on finding your Okta issuer URI. It should look likehttps://{okta-domain}.okta.com.
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. The OpenID connector page is displayed.
- Enter the following values:
- From the Type drop-down menu, select Okta.
- In the Identifier field, enter your client ID.
- In the Secret field, enter your client secret.
- In the Issuer field, enter the issuer URI.
- Click Save.
Configuring Okta SSO via your own app
Step 1: Creating an Okta app integration
- Log in to the Okta admin console.
- Navigate to Applications, then select Create App Integration.
- In the modal under the sign-in methods, select OIDC - Open ID Connect. Under Application type, select Web Application.
- On the next page, enter a name, logo, and grant type for the app.
- To bypass the login screen and enable automatic sign on, see Auto sign-on below.
- Click Save.
- You will be redirected to the app’s overview page.
- From the app’s overview, click the General tab. Copy the values of the client ID and client secret. Store these in a secure location, as you will need them in the next steps.
- Grant type - Authorization Code
- Initiate login URI -
https://app.getcortexapp.com/login?tenantCode=TENANT_CODE(replaceTENANT_CODEwith your Cortex tenant code. This is what triggers auto sign-on directly into your workspace) - Sign-in redirect URIs - Add all of the following:
https://cortexapp.auth0.com/login/callback(required for all configurations; this is the redirect URI the Auth0 OAuth flow uses)https://api.getcortexapp.com/login/oauth2/code/okta(required for the standard SSO login flow)https://app.getcortexapp.com/login?tenantCode=TENANT_CODE(replaceTENANT_CODEwith your Cortex tenant code)
Step 2: 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. The OpenID connector page is displayed.
- Enter the following values:
- From the Type drop-down menu, select Okta.
- In the Identifier field, enter your client ID.
- In the Secret field, enter your client secret.
- In the Issuer field, enter your Okta account domain, e.g.
https://{okta-domain}.okta.com.
- Click Save.
Troubleshooting and FAQ
See frequently asked questions below.I see authentication failures and/or can't to connect to Okta
I see authentication failures and/or can't to connect to Okta
Follow these steps:
- Check your network connectivity from Cortex to Okta endpoints.
- Verify no firewall rules or network changes are blocking outbound traffic.
- Confirm required Okta domains/endpoints are reachable.
I see TLS handshake failures in the logs / The TLS handshake could not complete, blocking the authentication flow
I see TLS handshake failures in the logs / The TLS handshake could not complete, blocking the authentication flow
Follow these steps:
- Validate that outbound HTTPS (port 443) is allowed.
- Check for SSL/TLS inspection or proxy interference.
- Confirm certificates are not blocked or altered.