Skip to main content
Let your team sign in to OpenCX through your own identity provider, using SAML 2.0 or OpenID Connect.
SSO is self-serve: an admin with settings permissions configures it at Settings → Security. No OpenCX involvement required.

Overview

We support most identity providers (Okta, Microsoft Entra ID, Google Workspace, OneLogin, JumpCloud, Auth0, Keycloak, AD FS, etc.) over SAML 2.0 or OIDC. Members sign in by clicking Sign in with SSO on platform.open.cx and entering their work email — OpenCX matches the domain to your provider and redirects to your IdP. Each provider is bound to one email domain, verified with a DNS record before sign-ins work. Working with multiple domains? Add a provider per domain. Directory sync sits on top: SCIM provisioning creates accounts when you assign users in your IdP and cuts off access when you unassign them, instead of waiting for a sign-in attempt.

Configure

For connected organizations outside a partner account, configure SSO and SCIM in the main billing organization. A child or test organization’s Security page shows Managed by [organization name]. Switch to that organization and open Settings → Security to make changes. Existing child connections are not moved automatically; coordinate their migration before switching to central management. Partner organizations retain their existing management arrangement.
  1. Navigate to Settings → Security and click Add provider.
  2. Pick SAML or OIDC and fill in the form. For SAML you’ll paste your IdP’s metadata XML and its entity ID; for OIDC, the issuer URL, client ID, and client secret. Every provider needs the email domain your team signs in with.
  3. OpenCX generates your provider’s IdP-facing values at creation, so create the app in your IdP with placeholder URLs first, then replace them with the real values shown on the provider card — Reply URL (ACS) and Identifier (Entity ID) for SAML, or Redirect URI for OIDC. Each value has a copy button.
  4. Click Set up DNS on the provider card, publish the TXT record it shows, then click Verify domain. Sign-ins for the domain are rejected until this passes — see Domain verification.
Provider configuration can’t be edited after creation. To rotate a certificate or client secret — or change anything else — delete the provider and add it again. This generates a new provider ID, so update your IdP app’s URLs and re-verify the domain in the same change.

Okta

  • Okta documentation
  • In the Okta Admin console, navigate to Applications → Create App Integration → SAML 2.0 and name the app.
  • Set Name ID format to EmailAddress and Application username to Email — OpenCX identifies members by email.
  • From the app’s Sign On tab, open View IdP metadata and paste the XML into OpenCX. The metadata’s entityID is your IdP entity ID.
  • Enter OpenCX’s Reply URL (ACS) as the Single sign-on URL in Okta, and Identifier (Entity ID) as the Audience URI, then assign users to the app.

Microsoft Entra ID

Entra works over both protocols: SAML via an enterprise application, or OIDC via an app registration. It works even if your email is hosted elsewhere (e.g. Google Workspace). SAML — Entra ID documentation
  • From Microsoft Entra ID, select Enterprise Applications → New application → Create your own application (non-gallery), then Single sign-on → SAML.
  • Edit Attributes & Claims and set the Unique User Identifier (Name ID) to Email address format, source user.mail. If user.mail is empty (cloud-only users without a mailbox), fill the user’s Mail attribute — or use user.userprincipalname, but only when all members’ UPNs are on your email domain (the default UPN breaks guest users, see FAQ).
  • Download the Federation Metadata XML (SAML Certificates section) and paste its contents into OpenCX. Your IdP entity ID is the Microsoft Entra Identifier (https://sts.windows.net/<tenant-id>/), also the metadata’s entityID.
  • Enter OpenCX’s values in Basic SAML Configuration — the field names match the provider card.
  • Assign users or groups under Users and groups — unassigned users get AADSTS50105 at sign-in.
OIDC
  • From App registrations → New registration, create a single-tenant app. Under Authentication → Add a platform → Web, set OpenCX’s Redirect URI from the provider card. Leave both implicit-grant checkboxes unchecked — OpenCX uses the authorization-code flow.
  • Under Certificates & secrets, create a client secret and copy its Value (shown only once) — not the Secret ID.
  • Your issuer URL is https://login.microsoftonline.com/<tenant-id>/v2.0.
  • Under Token configuration, add the optional email claim to the ID token — the user’s email must be on your verified domain (the guest-user caveat above applies here too).

Google Workspace

  • Google documentation
  • In the Admin console, navigate to Apps → Web and mobile apps → Add app → Add custom SAML app.
  • Download the metadata on the Google Identity Provider details step and paste its contents into OpenCX. Set Name ID to Primary email, format EMAIL.
  • Enter OpenCX’s Reply URL (ACS) as the ACS URL and Identifier (Entity ID) as the Entity ID.
  • Turn the app ON for the organizational units that need access — Google apps default to OFF, and changes can take a while to propagate.

Other SAML providers

  • Any standards-compliant SAML 2.0 IdP works — OneLogin, JumpCloud, Ping, Duo, Auth0, on-prem AD FS. Export the app’s metadata XML and paste it into OpenCX.
  • The Name ID must be the user’s email (format emailAddress), and the response must be signed — unsigned assertions are rejected. Sign with SHA-256 or better: old AD FS installs default to SHA-1, so change the relying party trust’s secure hash algorithm.
  • Keep the IdP host NTP-synced: assertions outside their timestamp validity window are rejected.
  • OpenCX’s Identifier (Entity ID) URL serves standard SP metadata XML — IdPs that import SP metadata can consume it directly.

OIDC providers

  • Create a web application (confidential client) using the authorization-code grant, with the openid, email, and profile scopes. The ID token must carry an email claim.
  • The issuer URL must be HTTPS and publicly reachable; OpenCX validates its discovery document ({issuer}/.well-known/openid-configuration) when you add the provider. A Discovery endpoint field is available if yours lives elsewhere.
  • Enter OpenCX’s Redirect URI as the client’s allowed callback URL — it must match exactly.
  • Client secrets expire — note the date, and re-add the provider with a fresh secret before it lapses.

Just-in-time provisioning

When someone signs in through your IdP for the first time, OpenCX creates their account and adds them to your organization. Sign-ins with an email that isn’t on your verified domain are rejected, with the reason shown on the sign-in page. Set during account creation:
  • Email: the SAML Name ID or OIDC email claim. This is the identity key — OpenCX matches sign-ins to members by email.
  • Name: taken from your IdP’s name attributes or the name claim.
  • Role: without active directory role management, the SSO Member role is created in your organization the first time it is needed. It grants read-only access to sessions. When the SSO connection is paired with an active directory, verified group and application-role mappings determine the member’s roles instead; no verified grants means no role permissions.
Without active directory role management, later sign-ins preserve existing role assignments. Assign roles at Settings → Members, or edit the SSO Member role at Settings → Roles to change its permissions. For the SSO connection paired with an active directory, each validated login reconciles the configured group and application-role claims. Complete claims can add and remove grants. Incomplete claims preserve the last verified grants and record a sync error. Other SSO connections authenticate without changing directory-managed roles. See Directory mappings.
Your IdP controls who can sign in to its OpenCX application. For connections using the default SSO Member role, keep that role’s permissions limited to what new employees should receive. With active directory role management, configure the required mappings before granting access.

Domain verification

Each provider shows a DNS challenge under Set up DNS on its card: Publish the record in your DNS zone, then click Verify domain. The token is stable for the life of the provider, so leave the record in place and retry while DNS propagates. Verification is what stops anyone else from wiring SSO for a domain they don’t own.

SCIM provisioning

SCIM 2.0 keeps OpenCX in sync with your directory: assigning a user in your IdP creates their OpenCX account, and unassigning or disabling one revokes their access on the next sync cycle. It complements SSO rather than replacing it — sign-in still runs through your provider. SCIM requires an SSO provider with a DNS-verified domain on the same organization. It never creates users on a domain you haven’t verified — those attempts fail with scim_domain_not_verified in your IdP’s provisioning log.
  1. Navigate to Settings → Security, find SCIM provisioning, and click Set up SCIM.
  2. Copy the Tenant URL (https://api.open.cx/backend/auth/scim/v2) and the secret token.
  3. Paste both into your IdP’s provisioning configuration — see Entra ID provisioning below.
The token is shown exactly once. If you lose it, rotate it from the same card — rotating invalidates the old token immediately, and already-provisioned users stay linked, so your IdP keeps managing the same people without re-creating anyone.

What syncs

SCIM provisions users. When directory group synchronization is configured, it also accepts groups and their direct user memberships. OpenCX roles and their permissions are defined in OpenCX; directory mappings determine which roles managed members receive. Create and assign — OpenCX creates the account with its email pre-verified. Without active directory role synchronization, new memberships receive the SSO Member role and existing memberships keep their roles. With directory role synchronization active, mappings determine managed members’ roles, including removals; no mapped grants means no role permissions. An existing account can be linked under the organization’s identity policy instead of creating a second account. Update name or email — A name change from your provider applies in the organizations this SCIM connection manages; the person’s name in other organizations stays as it is. An email change applies only to an address on a domain your organization has verified, and only for people who belong to no organization outside this connection. Otherwise OpenCX keeps the current email, still applies the rest of the update, such as a deactivation, and records the dropped change in the audit log. Deactivate (active: false) — OpenCX deactivates the person’s memberships in the organizations managed by this directory. They keep the membership, their teams and their history, but lose access to those organizations and all of their roles. Access checks and live connections stop access once the update is processed. Organization owners are never deactivated; the attempt is recorded in the audit log instead. Access to organizations outside the directory’s scope stays available. A person deactivated in every organization they belong to can’t sign in, and their open sessions end, unless an invitation is waiting for them. An SSO sign-in or an invitation never reactivates a membership: the provider reactivates the user, or an admin selects Reactivate member in Settings → Members. Disconnecting SCIM leaves deactivated memberships deactivated. See Disconnecting SCIM. Open tabs viewing a deactivated organization return to organization selection. Tabs in other accessible organizations stay connected and stop receiving notifications from the deactivated organization. Reactivate (active: true) — OpenCX reactivates deactivated memberships and creates missing ones. Deactivation cleared the person’s roles, so old assignments are not restored: where directory role synchronization is active, current mappings determine the roles; otherwise a reactivated member has no roles until an admin assigns them, and a new membership gets the default SSO Member role. The latest change wins: reactivating in the provider also reactivates a membership an admin deactivated, and an admin can reactivate a member the provider deactivated. Every change the provider makes is recorded in the audit log as a system action. Delete — deactivates the managed memberships and removes the provisioning link. The global account and session history remain. The user disappears from SCIM reads until the provider provisions them again. Deletion does not sign them out of unrelated organizations. Groups — the same SCIM base URL exposes /Groups for creation and listing, and /Groups/{id} for reads, replacement, membership changes, and deletion. Group members must reference users already provisioned by that SCIM connection. Nested groups are not expanded. Removing a group membership removes that group’s grant; a role remains while another verified group or application-role assignment grants it. Removing a group does not delete its users or their organization memberships. Use the provider’s stable group identifier as externalId so SCIM and login claims can refer to the same group. OpenCX returns its own separate group id for subsequent SCIM requests. Group reads support id, externalId, or displayName equality filters, startIndex and count pagination, and excludedAttributes=members. If channels disagree and their order cannot be verified, OpenCX retains the last verified roles and reports a synchronization error until the conflict is resolved. A missing or incomplete claim does not mean the user has left every group.
Historical platform-wide bans are preserved for explicit migration. Reactivating or reprovisioning a user does not lift an existing global ban. Contact OpenCX support if a previously deactivated account remains blocked after reactivation.

Entra ID provisioning

  • Entra ID documentation
  • From Enterprise applications, open the same app you use for SSO — or create a new non-gallery app — then select Provisioning → New configuration.
  • Set the mode to Automatic, paste the Tenant URL and Secret Token from the OpenCX dashboard, and click Test Connection.
  • Under Mappings, map the user’s userName to their email (userPrincipalName) and externalId to objectId. If directory group synchronization is configured in OpenCX, enable Groups, map group externalId to objectId, and include direct members. Otherwise, provision Users only.
  • Set Scope to Sync only assigned users and groups, then assign the users and groups to provision under Users and groups.
  • Turn provisioning On. Entra’s sync cycle runs roughly every 40 minutes, so creates and deactivations land on that cadence — offboarding takes effect at sync time rather than waiting for the user’s next sign-in attempt, as it does with SSO alone.
Provisioning failures appear in the app’s Provisioning logs with the OpenCX error detail. scim_domain_not_verified means the user’s email domain isn’t a DNS-verified SSO domain on your workspace — with Entra this is usually a guest user, whose UPN is the name_domain#EXT#@tenant.onmicrosoft.com form rather than their real address. Legacy tenants that send active as the string "False" are handled, so no workaround is needed there.

Okta provisioning

Okta takes the same two values: in the app’s Provisioning tab, set the SCIM connector base URL to the Tenant URL and Authentication Mode to HTTP Header, with the OpenCX token as the bearer token.

Offboarding

With SCIM connected, disabling or unassigning a user in your IdP deactivates them in the directory-managed organizations on the next sync cycle — no dashboard step needed. Without SCIM, disabling a user in your IdP only blocks their next SSO sign-in. It doesn’t end active OpenCX sessions or change their membership — to cut access immediately, deactivate them at Settings → Members (reversible) or remove them (permanent).

FAQ

The email’s domain didn’t resolve to a verified provider. Check that the provider isn’t still Pending verification, that the user’s email domain matches the provider’s domain exactly (acme.io ≠ acme.com), and that the provider wasn’t deleted.
DNS propagation usually takes minutes but can take longer. Confirm the record with dig TXT _opencx-sso-challenge.acme.com +short — the output must contain the exact value from the dashboard. Common mistakes: the record sits at the zone apex instead of the _opencx-sso-challenge host, the value has extra quotes or whitespace, or it’s in the wrong DNS zone.
The sign-in page shows the failure reason after the redirect back. Usual causes: the IdP app still holds placeholder URLs from initial setup (paste in the values from the provider card), the user isn’t assigned to the app in your IdP, the SAML response is unsigned, or your IdP rotated its signing certificate since the provider was added (delete and re-add with fresh metadata).
Your IdP returned an email that isn’t on your verified domain, so provisioning refused to create the account — the sign-in page shows the rejection. With Entra this is usually a guest user: their default Name ID is the name_domain#EXT#@tenant.onmicrosoft.com UPN, not their real address. Point the Name ID (SAML) or email claim (OIDC) at user.mail, or make them a tenant member with a UPN on your domain.
redirect_uri_mismatch means the client’s callback URL doesn’t exactly match the Redirect URI on the provider card. invalid_client means wrong credentials or an expired client secret — re-add the provider with a fresh one.
Your IdP is sending a directory identifier (like Entra’s object ID) as the SAML Name ID instead of the email. Set the Name ID to email format.
Without active directory role management, that’s the SSO Member role. Assign roles at Settings → Members, or edit the role itself at Settings → Roles. For directory-managed members, update their directory assignments or the mappings instead.
Check that the Tenant URL ends in /scim/v2 and that the token is pasted whole — it’s a single opaque string with no Bearer prefix. A token that was rotated after you pasted it no longer works; rotate again and update the IdP with the new value.
The user’s email domain isn’t a DNS-verified SSO domain on your workspace, so SCIM refused to create the account. Verify the domain under Settings → Security — see Domain verification — or add a provider for the domain those users are on. With Entra, guest users hit this because their UPN is on tenant.onmicrosoft.com.
Yes, when directory group synchronization is configured. SCIM sends groups and direct user memberships; mappings grant existing OpenCX roles. It does not import permission definitions from your provider. User provisioning continues independently of role mapping, and removing the last verified role grant leaves a managed member with no role permissions.
Rotate it under Settings → Security. The old token stops working immediately, and users already provisioned stay linked — paste the new token into your IdP and provisioning resumes where it left off.
Yes. SSO doesn’t disable the other sign-in buttons or enforce IdP-only sign-in.
No — sign-in starts at platform.open.cx with Sign in with SSO. IdP-initiated sign-in isn’t supported.
Still stuck? Send the failing user’s email, the approximate time, your IdP, and any IdP-side error code to support@open.cx.