Issue
Users are unable to log in to Segment via Okta SSO, even after being successfully provisioned via SCIM. The login is safely rejected because the system does not recognize the user's account at sign-in.
Product
Twilio Segment
Environment
Segment Console
Cause
This issue occurs when Okta presents a split identity for the user between provisioning and login.
-
During SCIM provisioning, Okta provides one
userNamestring (email address), and Segment reserves a workspace seat for that exact string. -
However, during SSO login, Okta passes a different alternative email string.
Because Segment's authentication system relies on a strict string match of the userName provided by Okta, rather than treating the email as a backend database ID - it does not see a match for the SSO email and rejects the login.
Resolution
userName string used by the SCIM app.
- Open your Okta SCIM application settings.
-
Locate the affected user and update their
userNameattribute so that it exactly matches the email string they use for their SSO login. - Save the changes. SCIM will automatically push this update to Segment, updating the user's workspace profile to match their SSO login identity.
Additional Information
- Single Sign On team management
- System for Cross-domain Identity Management (SCIM) Configuration Guide