How user_id at auth0 created

Hi @rashid779939,

I don’t know the exact details / code of the algorithm for setting up the user_id, but it is usually of the form:

[identity-provider]|[identity-provider-unique-identifier]

For example:

google-apps|jane.doe@foo.com        # G Suite user
google-oauth2|jane.doe@foo.com      # Google social login
auth0|jane.doe@foo.com              # users stored in Auth0.

You can use this field as a unique identifier, or you can add your own to the user’s metadata. You can create your own unique ID using a Rule.

2 Likes