Area: Authentication
Sub-Area: SSO (OIDC) and SCIM provisioning
Applies to: Cloud
Issue
You are setting up or running SSO (OIDC) or SCIM provisioning on DataHub Cloud and hit one of these problems: you aren't sure how to test SSO safely, you need a token for SCIM, SCIM returns a conflict, or you aren't sure what happens in DataHub when a user is removed in your identity provider (IdP).
You Might Be Asking
1. I turned on SSO. How do I test it without locking myself out?
- Keep a second admin account and keep your current admin session open while you change SSO settings.
- An admin with the Manage Platform Settings privilege sets up SSO under Settings > Platform > SSO and chooses OIDC. Click Connect, log out, then log back in with SSO to test it. See Cloud OIDC SSO setup.
- When you register the redirect URI with your IdP, use
https://<your-domain>.acryl.io/callback/oidc. DataHub has no bare/callbackendpoint. The SSO page also shows this redirect URI. If you save the form while you reach DataHub on a different hostname, the redirect URI changes and login breaks. The page warns you when the stored address and the current address differ. - If the SSO test fails and you can't sign in, contact DataHub Support.
2. Which SSO providers does DataHub support?
DataHub Cloud supports OIDC only. It doesn't support SAML or LDAP. The discovery URIs for two common providers are:
- Microsoft Entra ID (Azure AD):
https://login.microsoftonline.com/<tenant-id>/v2.0/.well-known/openid-configuration - Okta:
https://<your-okta-domain>/.well-known/openid-configuration
See IdP-side OIDC setup.
3. What do I use as the token for SCIM provisioning?
The Okta SCIM guide uses a DataHub personal access token as the Bearer value. Use a dedicated account rather than a personal admin token:
- Create a dedicated user in DataHub, for example
scim-provisioner. - Give the user the Manage Users & Groups privilege. Since Cloud v2.1.0, the SCIM API requires this privilege, and authenticated callers without it get a 403.
- Sign in as that user and generate a personal access token. See Creating personal access tokens.
- Paste the token into your IdP's provisioning settings, test the connection, and save.
To rotate the token, generate a new one for the same dedicated user, paste it into the IdP provisioning settings, test the connection, and save.
DataHub Cloud v0.3.17 and later also has Service Accounts, which are non-human identities with their own tokens. You manage them under Settings > Users & Groups > Service Accounts and need the Manage Service Accounts privilege. The SCIM guides still describe a personal access token, so use the dedicated-user approach above for SCIM. See Service Accounts.
4. What is the SCIM URL?
For Microsoft Entra, the Tenant URL is https://<hostname>/gms/openapi/scim/v2. See SCIM with Microsoft Entra. For Okta, follow the endpoint settings in SCIM with Okta.
For Okta, DataHub's guide uses a separate SWA app integration only for SCIM provisioning. SSO stays on your existing OIDC app.
5. SCIM fails with "Resource with name already exists". Why?
When SCIM creates a user, DataHub builds the user URN from the SCIM userName exactly as sent (urn:li:corpuser:<userName>). If an entity with that URN already exists, for example a local admin account or a user who already logged in with SSO, DataHub rejects the create with Resource with name <userName> already exists.
SSO login uses the same rule. It builds urn:li:corpuser:<username> from the configured username claim, and it reuses an existing account only when the URN matches exactly. Make the SCIM userName your IdP sends match the value of your SSO username claim. The claim is the User Name Claim in the SSO settings.
To fix a conflict, choose one:
- Exclude the user from SCIM. In Okta or Entra, remove that user from the DataHub SCIM application assignment. You keep managing that account in DataHub.
-
Delete the existing user, then retry the push.
- Sign in as a different admin. Deleting needs the Manage Users & Groups privilege.
- Go to Settings > Users & Groups, open the row menu for the conflicting user (for example
<user-email>), and choose Delete User. - Retry the push from your IdP.
Delete User deletes the user and removes references to it, such as ownership, from other entities. Keep another working admin account before you delete.
See SCIM with Microsoft Entra and SCIM with Okta.
6. What happens in DataHub when I remove a user in my IdP?
- Okta: Users you unassign or deactivate in Okta are suspended in DataHub. Users you delete in Okta are not deleted in DataHub.
- Entra: Permanently deleting a user or group in Entra deletes it from DataHub. A SCIM delete request deletes the user entity.
- Suspended is not deleted. DataHub user statuses are ACTIVE and SUSPENDED.
Suspending a user in DataHub does not by itself stop SSO login for someone your IdP still lets in. A successful SSO login sets the user's status to ACTIVE. To block someone, unassign or deactivate them in your IdP, or delete them in DataHub (Settings > Users & Groups > row menu > Delete User).
The user row menu has no deactivate action. The status filter shows Active and Suspended.
See SCIM with Okta and SCIM with Microsoft Entra.
7. Should I use SCIM or JIT provisioning?
- JIT (the default): DataHub creates the user at their first SSO login. You need no token. Turn on Extract Groups to create groups from the groups claim at each login. This works only with JIT on. It replaces the user's SSO group membership at every login, which clears group membership assigned in the DataHub UI.
-
Pre-Provisioning: Only users that already exist in DataHub can log in with SSO. Others see
User with urn <urn> has not yet been provisioned in DataHub. Please contact your DataHub admin to provision an account.Choosing Pre-Provisioning turns off Extract Groups. - SCIM: Your IdP creates and updates users through the SCIM API, so they exist before they log in. It needs a token (FAQ 3).
See Cloud OIDC SSO setup.
8. How do I give IdP groups a DataHub role?
- In the Cloud group list, each group has a role cell where you can select a role. See Assigning roles.
- With Entra SCIM, you can provision a user's role with an attribute mapping: set the expression
SingleAppRoleAssignment([appRoleAssignments])toroles[primary eq "True"].value, with app roles Admin, Editor and Reader. Only these three are supported. See SCIM with Microsoft Entra.
9. Can I have users from multiple email domains?
The SSO callback has no email-domain check. It extracts the username from the configured username claim, checks required groups if you set any, and then runs JIT or pre-provisioning. If you set Required Groups in the Advanced section of the SSO form, users need at least one of the listed groups. With no required groups set, nothing is enforced.
10. SCIM sync fails. Where do I look?
- Check the provisioning logs in Okta or Entra for the error.
- A 403 means the token's user lacks the Manage Users & Groups privilege (Cloud v2.1.0 and later).
- A conflict means the user already exists (FAQ 5).
- For Entra, check that the Tenant URL is
https://<hostname>/gms/openapi/scim/v2. For Okta, check the endpoint against the Okta guide. - For server-side logs, contact DataHub Support.