- By the
user_idproperty. This is guaranteed to be unique (within a tenant) per user (such as{identity provider id}|{unique id in the provider}orfacebook|1234567890). A user may have the sameuser_idproperty across multiple Auth0 tenants, but consistency is not guaranteed. - By a natural key, like the
emailproperty. In this case, it is recommended that you enable email verification and only use this option with providers that require that users verify their emails.
user_ids within a tenant for different database connections. If you expect possible collisions between IDs from different connections, you should use a prefix identifying the connection.
The following code sample shows a custom database connection identified with the prefix, MyConnection1|: