Getting different accounts with different auth providers but same email

Hey,

When I signed up with an email, an email for which I had already created an account using signin-with-google, I expected to get a warning that the email already exists. However, it created a new account with the same email. Is there a way to link them or at least get a warning?

Otherwise, If an account was created with email and then signed in with Google, it should have allowed the user into the same account as the email is the same and added a new authentication provider to the user.

Is there a way to do it?

Thank you