Hello,
I’m looking to get more information on the exact structure that auth0 formats the sub (user_id) in the incoming callback in the JWT ID token once a user is authentication in auth0.
For example the auth0 database format is: auth0|xxxxx
A google social connection is: google-oauth2|xxxxx
This is pretty standard. However now I want to set up a self serve SSO and want to be able to decipher the connection using the incoming sub.
When I create a custom SAML connection the sub of the user has the format:
samlp|connection-name|user-id-from-idp
.
I can see the same is the case for custom oidc:
odic|connection-name|user-id-from-idp
.
I would like to know how the sub’s in the other Identity Provider types would be formatted for each of the options in the self serve SSO flow (see image).
Thanks in advance!