Skip to main content

SSO and SCIM

Single sign-on (SSO) lets members sign in to Verdictan through your identity provider, with OIDC or SAML 2.0. Any provider that supports one of these protocols works, for example Okta, Microsoft Entra ID (Azure AD), Google Workspace, OneLogin, Auth0, Ping Identity, JumpCloud, Keycloak, or ADFS. Identity provider notes gives the values to copy from the most common ones. SCIM lets that provider create, update, and suspend members in Verdictan. Set up SSO first, then add SCIM if you want it.

Before you make SSO mandatory, test the connection and test sign-in with each recovery account. A broken identity provider must never lock every owner out.

Before you start​

Work with your identity provider administrator. In Verdictan, you need org:sso, and for SCIM also sso:read and sso:write. Have these ready:

  • The email domain to verify for sign-in discovery.
  • For OIDC: the discovery URL, client ID, and client secret.
  • For SAML: the metadata URL or XML file of the identity provider.
  • The roles and teams to give each directory group.
  • A test user who is not an owner.
  • Two different recovery owners who can sign in with a password.

Keep test and recovery accounts separate, and never make the only active owner your first SSO test user.

1. Create a connection​

Single sign-on page with an example Okta OpenID Connect connection, its domain and status, and the Create connection button.

  1. Open Administration → Organization → Single sign-on and select Create connection.
  2. Under Select provider type, choose OIDC or SAML.
  3. Enter a Connection name. Optionally, select your Identity provider (Okta, Microsoft Entra ID (Azure AD), Google Workspace, OneLogin, Auth0, or Other). Then select Continue and enter the provider values below.
  4. Enter your email domain in Domain hint.
  5. Select Create connection.
  6. Verify the domain before activation.
ProtocolFields
OIDCDiscovery URL, Client ID, and Client Secret
SAMLIdP Metadata URL, or IdP Metadata XML when there is no URL

Verdictan encrypts the stored client secret. To keep the saved secret when you edit a connection, leave the secret field empty.

2. Register the callback​

The callback is where the identity provider sends the browser after sign-in. It is on the Console of your region.

OIDC​

Register the redirect URI of your region:

EU Console
https://console.eu.verdictan.com/sso/callback
US Console
https://console.us.verdictan.com/sso/callback

Scheme, host, port, and path must match exactly.

SAML​

On the connection page, select Download SP Metadata and import the file into the identity provider. It sets the entity ID, audience, and assertion consumer service (ACS) address. The ACS path is /sso/callback or /auth/saml/callback on your Console origin. Make sure the provider sends the email and group attributes.

Follow your identity provider's own guide for its side of the application registration. Identity provider notes tells you where to start in the common providers.

Identity provider notes​

The procedure is the same for every provider. This table tells you where to register Verdictan in the common providers and which values to copy into the connection. Menu names change in provider consoles; if a name is different, use the provider's own guide for a custom OIDC or SAML application.

Identity providerRegister Verdictan asValues for the connectionGroups and SCIM
OktaApplications → Create App Integration: OIDC - OpenID Connect with Web Application, or SAML 2.0. Add the callback as the sign-in redirect URI.Discovery URL https://<your-okta-domain>/.well-known/openid-configuration, or the SAML Metadata URL of the applicationAdd a groups claim (for example groups) to the ID token. SCIM: turn on SCIM provisioning in the application and enter the SCIM Endpoint URL and the token as an HTTP header (Bearer) credential.
Microsoft Entra ID (formerly Azure AD)OIDC: App registrations → New registration, platform Web, with the callback as the redirect URI. SAML: Enterprise applications → New application → Create your own application.Discovery URL https://login.microsoftonline.com/<tenant-id>/v2.0/.well-known/openid-configuration, the application (client) ID, and a client secret from Certificates & secrets. For SAML, the App Federation Metadata Url.Add a groups claim in Token configuration. Entra ID sends group object IDs, not names, so map the IDs. SCIM: in the enterprise application, set Provisioning to Automatic with the SCIM Endpoint URL as Tenant URL and the token as Secret Token.
Google WorkspaceUse SAML: Apps → Web and mobile apps → Add app → Add custom SAML app. Enter the ACS URL and entity ID from the SP metadata.The IdP metadata file that Google shows (IdP Metadata XML)Map Group membership to a SAML attribute, such as groups, and use that name as the Group claim name. Custom SAML apps do not provision with SCIM: set a Fallback role ID and remove leavers in Verdictan.
OneLoginApplications → Add App: OpenId Connect (OIDC), or a SAML custom connector. Add the callback as the redirect URI.Discovery URL https://<subdomain>.onelogin.com/oidc/2/.well-known/openid-configuration, client ID, and client secretSend groups or roles in a claim. SCIM: use a SCIM provisioner application with the SCIM Endpoint URL as the SCIM base URL and the token as the bearer token.
Auth0Applications → Create Application → Regular Web Applications. Add the callback to Allowed Callback URLs.Discovery URL https://<your-tenant>.auth0.com/.well-known/openid-configuration, client ID, and client secretAdd groups or roles to the ID token with an Action.
Other OIDC or SAML 2.0 providers, such as Ping Identity, JumpCloud, Keycloak, or ADFSA custom OIDC web application or SAML 2.0 applicationThe discovery URL, client ID, and client secret, or the IdP metadataSend group names in one claim or attribute. Use SCIM 2.0 provisioning if the provider supports it.

3. Prepare recovery​

  1. Select Test connection and fix any discovery, endpoint, credential, metadata, or certificate errors.
  2. Sign in with the password of each recovery owner.
  3. Under Break-glass activation, enter both IDs in Recovery owner user IDs.
  4. Select Record break-glass activation.

Break-glass access is how owners get in if the identity provider is down. Activation needs a passing connection test, a verified domain, and two different recovery owners. A passing metadata test does not prove sign-in. That comes in step 5.

4. Map groups to permissions​

  1. Under Group-to-Role Mapping, enter the Group claim name, such as groups.
  2. Map each directory group to a role ID and, optionally, a team ID.
  3. Optionally set a Fallback role ID for users without a matching group.
  4. Keep Sync at each sign-in on to re-evaluate the mappings at every sign-in.
  5. Select Save Changes.

For example, map the support-review group to a role that can read request evidence. Never give an administrator role to a large default group.

5. Enable and test sign-in​

  1. Under Enforcement settings, select Enable SSO and save.
  2. Sign in with the test user's email through the SSO discovery flow.
  3. Check the organization, identity, teams, and roles.
  4. If you set a fallback role, sign in with an unmapped user.
  5. Add a test group at the identity provider, sign in again, and check the new assignment.
  6. Remove the test group, sign in again, and check that the assignment is gone.

Keep password recovery available throughout.

6. Make SSO mandatory​

Enforcement applies to members whose email address is in the domain of the connection. For these members, it turns off password, passkey, Google, and GitHub sign-in, so they must sign in with SSO. Members with an email address in another domain keep their sign-in methods. The recovery owners of the connection keep all their sign-in methods.

  1. Tell your members about the change.
  2. Test password sign-in for each recovery owner.
  3. Under Enforcement settings, select Require SSO for this email domain and save.
  4. Watch sign-in results.

If the identity provider fails, a recovery owner signs in with a password and turns SSO for all members off. Never use enforcement to find problems in an untested connection.

The organization sign-in policy of the API (PUT /v1/auth/platform/org-auth-policy) adds more controls. sso_required requires SSO for all members, also outside the connection domain. password_login_enabled: false turns off password sign-in only. allowed_idps limits SSO sign-in to the listed connection IDs. email_domain_enforcement allows sign-in only with an email address in a verified domain of the organization. The stricter of this policy and the connection setting applies. Recovery owners keep all their sign-in methods, so they can relax the policy. The API rejects sso_required: true and password_login_enabled: false with HTTP 422 unless at least one enabled, activated connection is available that allowed_idps permits (any such connection when the list is empty). A disabled or unconfigured connection in allowed_idps does not count. If no such connection is available later, for example after a connection is disabled, the active owners of the organization keep all their sign-in methods on every surface, so they can repair the configuration.

Optional: synchronize members with SCIM​

  1. Under SCIM Provisioning, select Enable SCIM.
  2. Copy the SCIM Endpoint URL into the provisioning settings of your identity provider.
  3. Select Generate New Token and copy it right away. The Console shows it only once.
  4. Store the token in the protected credential field of the identity provider.
  5. Assign a test user without special privileges to the application.

Check that Verdictan creates the member. Then update the member, change their group, and remove them at the identity provider, and check each result in Administration → IAM → Members and Trail.

Keep the SCIM token out of email and tickets. Replace it if it is exposed, and revoke tokens that are no longer in use.

A SCIM group change does not remove every other grant. After deprovisioning, also review direct roles, owned tokens, active sessions, and owned resources.

Verify the complete setup​

Test SSO sign-in, recovery owner sign-in, and access. With SCIM, check the create, update, and remove results. Keep the Trail records for your access review.

Troubleshooting​

ProblemWhat to check
An email domain does not start SSOThe domain hint, domain verification, and connection state
OIDC returns a callback errorThe exact redirect URI, discovery URL, credentials, and clocks
SAML failsThe imported metadata, entity ID, audience, ACS recipient, certificate, and time conditions
A user gets unexpected accessThe group claim, mappings, fallback role, sync setting, and direct roles
SCIM returns 401The endpoint and an active, complete token. Replace a bad or exposed token.
Access remains after a group is removedAnother team or direct assignment grants the same action
Activation failsA passing connection test, a verified domain, and two eligible recovery owners
Domain verification returns 422 domain.verification_failedThe TXT record at _verdictan-verify.<domain> must contain the exact challenge value. DNS changes can take time to propagate.
Domain verification returns 503 domain.dns_lookup_unavailableThe DNS lookup did not complete, for example because of a timeout. The record was not checked. Try again later.

Next steps​