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 IdP | Value |
|---|---|
| Entity ID / Audience URI / SP metadata | https://<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
| Protocol | You provide in CHANGENTS.AI |
|---|---|
| SAML 2.0 | SSO URL and the IdP's signing certificate (PEM) |
| OpenID Connect | Issuer 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)
- Okta Admin → Applications → Create App Integration → SAML 2.0.
- Single sign-on URL: the Reply URL above. Audience URI: the Entity ID above. Name ID format: EmailAddress.
- Add attribute statements for
email,firstNameandlastName, and a group attribute if you map groups to roles. - Copy Okta's SSO URL and X.509 certificate into CHANGENTS.AI and save.
- Assign the app to a test user and open the sign-in link above.
Microsoft Entra ID (SAML)
- Entra admin centre → Enterprise applications → New application → Create your own application.
- Single sign-on → SAML. Identifier (Entity ID): the Entity ID above. Reply URL: the Reply URL above.
- Download the Certificate (Base64), copy the Login URL, and enter both in CHANGENTS.AI.
- 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(orSSO_DEFAULT_ROLEon 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>andsettings.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
- Security & SSO → Automatic provisioning → Create token.
- 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. - 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 IdP | In CHANGENTS.AI |
|---|---|
| Assign the app to a user | The user is created if needed and added to your organisation |
| Update the user | Name and email are updated |
| Deactivate or unassign the user | Their 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, setSSO_BASE_URL(SSO) andAPI_PUBLIC_URL(SCIM). - The backend must reach your IdP (OIDC discovery and token exchange). On an air-gapped install, allow it with
networkPolicy.extraEgressin the Helm chart.