--- title: "Okta OpenID Connect Integration" slug: "ca-okta-oidc-authentication" updated: 2026-11-05T14:09:55Z published: 2026-11-05T14:09:55Z canonical: "docs.sestek.com/ca-okta-oidc-authentication" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.sestek.com/llms.txt > Use this file to discover all available pages before exploring further. # Okta OpenID Connect Integration Conversational Intelligence can use Okta as the OpenID Connect identity provider behind the **Azure AD SSO** button on its login screen. Users open Conversational Intelligence directly and sign in with their Okta account. This is available from **version 5.13**. This page lists what Conversational Intelligence sends, what it needs from your Okta org, and what to set on the Conversational Intelligence side. Okta renames screens from time to time, so requirements are stated as values first and click paths second. Your Okta administrator will recognise all of them. Using Microsoft Entra ID instead? See *Azure AD OIDC Auth Integration*. For SAML, see *Azure AD SAML Auth Integration*. For directory sync, see *LDAP User Integration*. ## Before You Start - **Collect two values from Sestek (or your host administrator):** the address of your **identity server**, for example `https://identity.ca.useast.sestek.com/`, and your **tenant ID**, a GUID readable under **SaaS > Tenants** on the host tenant. - **Create the user accounts first.** Conversational Intelligence does not create accounts silently. Each user must already exist in the tenant with the **same e-mail address** as their Okta profile. Accounts can be created by hand, synchronised from a directory (*LDAP User Integration*) or created through the user API. - **Agents need nothing extra.** Agents, supervisors and administrators all sign in through the same identity server; an agent is a user with the *Agent* role. - **Choose the Okta authorization server.** Okta has an **org authorization server** (`https://<org>.okta.com`) and **custom authorization servers** (the built-in one is `https://<org>.okta.com/oauth2/default`). The org server needs no extra setup and is the simplest choice. A custom server needs an **access policy** before it issues any token (see *Access Policy* below). - **Confirm the issuer.** Open `<authority>/.well-known/openid-configuration` in a browser. It must return JSON, and its `issuer` field must equal the authority you will enter in Conversational Intelligence, character for character. ## SSO Button on the Login Screen Users click **Azure AD SSO** on the Conversational Intelligence login screen and sign in on Okta. The button label is fixed, whichever provider sits behind it. ### What Conversational Intelligence Requires from Your Okta Application | Setting | Required value | | --- | --- | | **Application type** | OIDC Web Application (a confidential client with a **client ID and client secret**) | | **Client authentication** | Client secret | | **Grant type** | **Authorization Code** only. Do not enable Implicit (hybrid) or Refresh Token. | | **PKCE** | Leave **Require PKCE as additional verification** unticked. This is the configuration that has been tested. | | **Sign-in redirect URI** | `https://<your-identity-server>/signin-azuread-oidc?tenantId=<your-tenant-id>`, character for character. Example: `https://identity.ca.useast.sestek.com/signin-azuread-oidc?tenantId=11111111-2222-3333-4444-555555555555`. When the provider is configured for the whole installation, omit `?tenantId=...`. | | **Scopes** | `openid`, `profile`, `email` | | **Claims** | Conversational Intelligence reads claims from Okta's **userinfo endpoint** and matches the user on the **`email` claim**. Okta releases `email` automatically with the `email` scope, so **do not create a custom claim** for it (Okta rejects a custom claim named `email`, `name` or `preferred_username` as a duplicate). The `sub` claim links the account afterwards. | | **Audience** | The ID token's `aud` must be the application's client ID. Okta does this by default. | | **Authority** | `https://<org>.okta.com` (org authorization server, recommended) or `https://<org>.okta.com/oauth2/default` (default custom authorization server) | > **📝 Note:** Okta compares redirect URIs as exact strings and does not support dynamic query parameters. The tenant-scoped URI above carries a fixed `?tenantId=` value and has been tested as accepted by Okta. ### Registering the Application in Okta In the Okta Admin Console, under **Applications > Applications** (newer consoles may group this under **Applications and Resources**): 1. **Create App Integration**, sign-in method **OIDC - OpenID Connect**, application type **Web Application**. 2. **App integration name:** a name your users will recognise, for example `Conversational Intelligence`. 3. **Grant type:** leave **Authorization Code** ticked and nothing else. 4. **Sign-in redirect URIs:** the exact URI from the table above. 5. **Assignments** (or **Controlled access**): assign the application to your test user, or to the group that will use Conversational Intelligence. A user who is not assigned is rejected by Okta. 6. **Save**. On the **General** tab, check that **Require PKCE as additional verification** is unticked, then copy the **Client ID** and **Client secret**. ### Access Policy (Custom Authorization Server Only) Skip this when the authority is the org authorization server. With `.../oauth2/default`, Okta issues no token until an access policy covers the application; trial and new orgs often have none, and sign-in fails with *Policy evaluation failed*. Under **Security > API > Authorization Servers > default > Access Policies**: 1. **Add New Access Policy**, assigned to **All clients** or to your Conversational Intelligence application. 2. **Add Rule** inside it: grant type **Authorization Code**, user **Any user assigned the app**, scopes **Any scopes**. Use the **Token Preview** tab on the same screen to confirm: choose the application, a test user, grant type Authorization Code and scopes `openid profile email`. The ID token must show `email`, and `iss` must equal your authority. ### What to Configure in Conversational Intelligence Per tenant, under **Administration > Settings > Account > External provider**, section **Azure AD SSO**: | Field | Value | | --- | --- | | **Enabled** | tick | | **Override host client information** | tick when configuring a single tenant rather than the whole installation | | **Client ID** | the Okta application's client ID | | **Authority** | `https://<org>.okta.com` or `https://<org>.okta.com/oauth2/default`, matching the `issuer` in the metadata JSON | | **Client Secret** | the Okta application's client secret | Then **Save**. > **⚠️ Warning:** **Authority** must be the issuer base URL. An endpoint such as `.../v1/authorize` is not rejected as invalid; sign-in fails later with a server error that never mentions the address. Mixing the two Okta servers (for example `https://<org>.okta.com` in Conversational Intelligence while testing claims on `/oauth2/default`) fails the same way. ### Testing It 1. Open the Conversational Intelligence login screen in a **private/incognito window**. 2. **Switch to the relevant tenant.** The button is per tenant and appears only after the tenant is selected. 3. Click **Azure AD SSO** and complete the Okta sign-in, including any MFA prompt. 4. You should land in Conversational Intelligence as the matching user. The first successful sign-in **links** the Okta account to the Conversational Intelligence user; later sign-ins match on that link rather than on the e-mail address. **If sign-in ends on a registration page,** no account matched: the userinfo response carried no e-mail address, or no user in the tenant has that address. Treat it as a missing-user signal, not as an onboarding path. > **📝 Note:** The SSO button is for direct access, not for embedding. By default Okta refuses to display its sign-in page inside another site's iframe, for example inside Genesys Cloud, and the browser shows *refused to connect*. Okta can allow framing in two places, and you should enable **one of them, not both**: > > > - **Security > API > Trusted Origins > Add Origin**: fill in **Origin Name** and **Origin URL**, set the type to **iFrame embed (origin)**, then **Save**. Only the origins you list may embed, which is the safer of the two. > - **Customizations > Other > iFrame Embedding**: tick **Enable iFrame embedding**. Any site may embed, so use it to unblock a test rather than to run a deployment. > > With both enabled, Okta sends its frame policy in report-only mode and the Trusted Origins rule stays in monitoring, which leaves you with the weaker of the two. Allowing the frame only makes Okta's page display inside one; it does not by itself make an embedded deployment work. For embedded scenarios, see *Azure AD OIDC Auth Integration*. ## Troubleshooting Most Okta failures show either on an Okta error page or in the browser's Network tab. Okta's **Reports > System Log** gives the exact reason for anything Okta rejects. | Symptom | Likely cause | Fix | | --- | --- | --- | | Okta page: `redirect_uri` error | The registered URI differs from what Conversational Intelligence sends | Copy the URI exactly, including `?tenantId=...`; no trailing slash or space | | Okta page: `unauthorized_client` or `unsupported_response_type` | The Authorization Code grant is not enabled on the Okta application | Enable Authorization Code | | Okta page: *User is not assigned to the client application* | The user is not assigned | Assign the user or their group under the application's **Assignments** | | *Policy evaluation failed* or *no matching policy* | Custom authorization server without a matching access policy rule | Add an access policy and a rule covering the application, grant type and scopes | | Sign-in fails with PKCE error | **Require PKCE** is ticked on the Okta application | Untick it | | Server error after Okta sign-in | **Authority** is an endpoint URL, or points to a different Okta server than the one issuing tokens | Set Authority to the `issuer` value from the metadata JSON | | Sign-in ends on the registration page | No user with the Okta e-mail address in the tenant, or no `email` released | Create the user with the same address; check `email` in Token Preview | | *refused to connect* inside a portal or Genesys Cloud | The Okta sign-in page was loaded inside an iframe and Okta does not allow framing | Allow the origin under **Security > API > Trusted Origins** with the type **iFrame embed (origin)**, or enable **Customizations > Other > iFrame Embedding**; see the note above. The SSO button is still not the embedding path, so for an embedded deployment see *Azure AD OIDC Auth Integration* | | `400 Request Header Or Cookie Too Large` | Leftover cookies from many failed attempts | Clear cookies for the identity server's domain, or test in a fresh private window | | Okta rejects a custom claim named `email`, `name` or `preferred_username` | These are standard claims Okta already provides | Do not create them; the `email` scope releases `email` | ## Summary | Step | Action | Where | | --- | --- | --- | | 1 | Collect the identity server address and the tenant ID | Conversational Intelligence | | 2 | Make sure every user exists with the same e-mail address as in Okta | Conversational Intelligence | | 3 | Create an OIDC Web Application: Authorization Code only, PKCE not required, redirect URI `.../signin-azuread-oidc?tenantId=<tenant-id>`, users assigned | Okta | | 4 | With `/oauth2/default`: add an access policy and rule | Okta | | 5 | Enable **Azure AD SSO** and enter Client ID, Authority and Client Secret | Conversational Intelligence | | 6 | Test in a private window after switching tenant | Both | ## Good to Know - **Every setting is per tenant.** Each tenant needs its own Okta application, because the redirect URI carries the tenant ID. - **No account is created silently.** An unmatched user is diverted to the registration page. - **The SSO button label is fixed** as *Azure AD SSO* and cannot be renamed per customer. - **Client secrets can be rotated or expire.** A rotated or expired secret shows up as a failed sign-in, not as a warning; update Conversational Intelligence when you rotate it in Okta. - **Do not mix Okta authorization servers.** The authority in Conversational Intelligence, the server whose policies you edit and the server you test in Token Preview must be the same one.