I am implementing Auth0 in one of my projects. I noticed it creates duplicate emails as different users. To explain in detail, I first created an account through Google Authentication. Then I created an account through the “Username-Password” option and registered the same email used through the Google Authentication. The new account creation was successful. I figured it would give me an error since a user with the same email signed up through Google Authentication. It did not show any errors and now the same email is used by two users.
I am not sure if this is a bug with Auth0 but this should not be happening. Essentially this is one user with two different accounts. Can someone please explain in detail what is happening and how to avoid it?