DhanushNehru / DhanushNehru/CustomCodeEditor
Error when using the same email for both Google and GitHub sign-ins
@tusharshah21 arbeitet bereits daran.
Seit 18.10.2024.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 73
- Forks
- 65
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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 https://github.com/DhanushNehru/CustomCodeEditor/pull/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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.