core
core copied to clipboard
We replace the UserID with a hashed version of the UserID when creating SAML users
Describe the bug We replace the UserID with a hashed version of the UserID when we create SAML users. This can cause issues where the UserID is used as a reference against other data.
Ticket: https://dotcms.zendesk.com/agent/tickets/107795
To Reproduce
- Configure SAML as SSO
- Log in as a new user.
- UserID will be hashed.
Expected behavior While this is a good solution for dealing with invalid UserIDs, there are scenarios that a client will WANT their UserIDs to be in dotCMS, so this should be configurable.