I’ve seen posts and documentation about Auth0 enforcing uniqueness of emails for a connection, but we’re integrating users from two different sources and from each source the unique thing is the username, not the email, so especially in testing environments but even in production some emails are associated with multiple usernames, and we’re pretty well stuck at how to proceed. I can’t imagine we’re the first ones to come across this issue where emails are not the unique thing. How have others dealt with this? Is it simply impossible within Auth0?
Any help, feedback, suggestions appreciated. Thanks.
If you are integrating two different sources of users, you can use the same email address for multiple users.
For example, if you had Database A and Database B configured, you could have a user with the same email address in each of those database connections. If they belong in the same database connection, this won’t be possible.
Then, if you want, you can choose to have User Account Linking to allow them to log in to both accounts using their primary account credentials.