Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using the same email for both Google and GitHub sign-ins #141

Open
DhanushNehru opened this issue Oct 10, 2024 · 4 comments
Open
Labels
bug Something isn't working hacktoberfest hacktoberfest-accepted help wanted Extra attention is needed

Comments

@DhanushNehru
Copy link
Owner

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.

@DhanushNehru DhanushNehru added bug Something isn't working help wanted Extra attention is needed hacktoberfest hacktoberfest-accepted labels Oct 10, 2024
@swarupn17
Copy link

Hey @DhanushNehru I can do this task. Please can you assign it to me.
Thanks!

@tusharshah21
Copy link
Contributor

@DhanushNehru this looks interesting, can you assign this to me also?

@DhanushNehru
Copy link
Owner Author

Hi @tusharshah21

Seems @swarupn17 is working on it. @swarupn17 any updates ?

@swarupn17 swarupn17 removed their assignment Oct 16, 2024
@tusharshah21
Copy link
Contributor

@DhanushNehru now can you check and assign it to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest hacktoberfest-accepted help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants