Skip to content
Back to the app

SSO & SCIM ​

Connect your identity provider so your people sign in with their corporate account, and optionally let it add and remove members automatically. For the whole joiner, mover and leaver picture, see Organisations & Access.

All settings are in Organization Settings → Security & SSO (admins).

Addresses your identity provider needs ​

<host> is changents.ai on the hosted service, or your own hostname. <org> is your organisation's short name, shown in its links.

Setting in your IdPValue
Entity ID / Audience URI / SP metadatahttps://<host>/api/sso/<org>/metadata
Reply URL / ACS URL (SAML) or redirect URI (OIDC)https://<host>/api/sso/<org>/callback
Sign-in link (bookmark or IdP tile)https://<host>/api/sso/<org>/login

The Security & SSO tab shows these with your values filled in.

Supported protocols ​

ProtocolYou provide in CHANGENTS.AI
SAML 2.0SSO URL and the IdP's signing certificate (PEM)
OpenID ConnectIssuer URL, client ID and client secret (stored encrypted, never shown again)

Okta, Microsoft Entra ID, Google Workspace, OneLogin, Ping and any standards-compliant provider work this way. Half a configuration (an SSO URL without a certificate, say) counts as none, so setup fails visibly rather than half-working.

Okta (SAML) ​

  1. Okta Admin → Applications → Create App Integration → SAML 2.0.
  2. Single sign-on URL: the Reply URL above. Audience URI: the Entity ID above. Name ID format: EmailAddress.
  3. Add attribute statements for email, firstName and lastName, and a group attribute if you map groups to roles.
  4. Copy Okta's SSO URL and X.509 certificate into CHANGENTS.AI and save.
  5. Assign the app to a test user and open the sign-in link above.

Microsoft Entra ID (SAML) ​

  1. Entra admin centre → Enterprise applications → New application → Create your own application.
  2. Single sign-on → SAML. Identifier (Entity ID): the Entity ID above. Reply URL: the Reply URL above.
  3. Download the Certificate (Base64), copy the Login URL, and enter both in CHANGENTS.AI.
  4. Assign users or groups, then test with the sign-in link.

Who gets in, and as what ​

  • New people your IdP sends, from an allowed domain, join your organisation at their first sign-in.
  • Existing CHANGENTS.AI accounts sign in through your SSO only if they are already members of your organisation. Invite them first. (Otherwise any organisation's IdP could sign in as anyone.)
  • Role: from a group mapping if one matches, otherwise editor (or SSO_DEFAULT_ROLE on a self-hosted install). SSO never grants owner; a mapping to owner gives admin.
  • Group mappings link an IdP group to a role and, optionally, a department. Moving someone between groups in your IdP changes their role at their next sign-in. Edit them under Security & SSO → Group to role mapping (the group claim or attribute name, then one row per group with its role and department), or with PATCH /api/orgs/<org> and settings.ssoConfig.groupMappings (a list of { idpGroup, role, departmentSlug }).
  • Seat limits apply: when every seat is in use, a new person is refused with a message saying so.

Require SSO ​

Once an admin has signed in through SSO, tick Members must sign in with single sign-on. Email and password sign-in then stops working for members, so disabling someone in your IdP stops their access. The owner keeps a password as a break-glass account in case the IdP is unavailable.

SCIM 2.0 provisioning ​

  1. Security & SSO → Automatic provisioning → Create token.
  2. Copy the base URL (https://<host>/api/scim/v2/<org>) and the token. The token is shown once; creating a new one revokes the previous one.
  3. In your IdP's provisioning settings, enter the base URL as the tenant/connector URL and the token as the bearer token. Enable creating users, updating profiles and deactivating users. Use userName (the email address) as the unique identifier.

What SCIM does:

In your IdPIn CHANGENTS.AI
Assign the app to a userThe user is created if needed and added to your organisation
Update the userName and email are updated
Deactivate or unassign the userTheir membership is removed. The account itself remains, since it may be used elsewhere

SCIM Groups are your group mappings: each mapping is one group (displayName is the IdP group name) whose members are the people holding its role and department. Pushing a member into a group applies that role and department at once; removing them resets them to viewer with no department. A group your IdP pushes that has no mapping yet is created as a viewer mapping until an admin maps it. Groups never grant owner, and the owner is never changed or removed through SCIM.

Self-hosted installs ​

  • The addresses above are built from FRONTEND_URL. Set it to your public address. If the API has its own hostname, set SSO_BASE_URL (SSO) and API_PUBLIC_URL (SCIM).
  • The backend must reach your IdP (OIDC discovery and token exchange). On an air-gapped install, allow it with networkPolicy.extraEgress in the Helm chart.

What's next? ​

Served from this deployment. No page view leaves it.