Error when using the same email for both Google and GitHub sign-ins #141
Labels
bug
Something isn't working
hacktoberfest
hacktoberfest-accepted
help wanted
Extra attention is needed
When a user tries to sign in with both Google and GitHub using the same primary email address, it causes a database conflict and raises an error. This is likely because the email is already stored in the database when they first use Google sign-in, and attempting to log in via GitHub with the same email results in a duplicate entry.
Checkout this PR for reference #139
Steps to Reproduce:
Sign up with Google using an email.
Try signing in with GitHub using the same primary email.
Expected Behavior:
The user should be able to sign in with either Google or GitHub using the same email without raising an error.
Actual Behavior:
An error occurs due to a conflict in the database for the same email being linked to different sign-in providers.
The text was updated successfully, but these errors were encountered: