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.- Navigate to Settings → Security and click Add provider.
- 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.
- 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.
- 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.
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
entityIDis 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. Ifuser.mailis empty (cloud-only users without a mailbox), fill the user’s Mail attribute — or useuser.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’sentityID. - 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
AADSTS50105at sign-in.
- 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, andprofilescopes. The ID token must carry anemailclaim. - 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
emailclaim. This is the identity key — OpenCX matches sign-ins to members by email. - Name: taken from your IdP’s name attributes or the
nameclaim. - 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.
Domain verification
Each provider shows a DNS challenge under Set up DNS on its card: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 withscim_domain_not_verified in your IdP’s provisioning log.
- Navigate to Settings → Security, find SCIM provisioning, and click Set up SCIM.
- Copy the Tenant URL (
https://api.open.cx/backend/auth/scim/v2) and the secret token. - Paste both into your IdP’s provisioning configuration — see Entra ID provisioning below.
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.
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
userNameto their email (userPrincipalName) andexternalIdtoobjectId. If directory group synchronization is configured in OpenCX, enable Groups, map groupexternalIdtoobjectId, 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.
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
Sign-in says 'No SSO is configured for this email domain'
Sign-in says 'No SSO is configured for this email domain'
acme.io ≠ acme.com), and that the provider wasn’t deleted.'Verify domain' says the DNS record isn't found
'Verify domain' says the DNS record isn't found
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 fails after redirecting to my IdP
The sign-in fails after redirecting to my IdP
A new user bounced back to the sign-in page instead of being provisioned
A new user bounced back to the sign-in page instead of being provisioned
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.OIDC: redirect_uri_mismatch or invalid_client
OIDC: redirect_uri_mismatch or invalid_client
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.Duplicate accounts appear on re-login
Duplicate accounts appear on re-login
Why can new SSO users only view sessions?
Why can new SSO users only view sessions?
SCIM: 'Test Connection' fails in my IdP
SCIM: 'Test Connection' fails in my IdP
/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.SCIM: provisioning log shows 'scim_domain_not_verified'
SCIM: provisioning log shows 'scim_domain_not_verified'
tenant.onmicrosoft.com.SCIM: can it sync groups or roles?
SCIM: can it sync groups or roles?
SCIM: I lost the token
SCIM: I lost the token
Can members still sign in with Google or Microsoft?
Can members still sign in with Google or Microsoft?
Can members sign in from the app tile in our IdP dashboard?
Can members sign in from the app tile in our IdP dashboard?