[GH-ISSUE #959] Link Social Providers by ID instead of Email #8520

Closed
opened 2026-04-13 03:36:47 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @daveycodez on GitHub (Dec 20, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/959

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Tracking for issue related to Social Providers and how they are connected.

Behavior should be -
Guest -> Log in with Provider -> Find User by Email -> Automatically Connect by ID and Authenticate
Authenticated -> Manually Link Provider -> Connect it by ID

Current vs. Expected behavior

Currently if you log in with a provider and then change your email on that provider, it will no longer function (GitHub example)

What version of Better Auth are you using?

1.2.2

Provide environment information

All

Which area(s) are affected? (Select all that apply)

Backend

Auth config (if applicable)

No response

Additional context

No response

Originally created by @daveycodez on GitHub (Dec 20, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/959 ### Is this suited for github? - [X] Yes, this is suited for github ### To Reproduce Tracking for issue related to Social Providers and how they are connected. Behavior should be - Guest -> Log in with Provider -> Find User by Email -> Automatically Connect by ID and Authenticate Authenticated -> Manually Link Provider -> Connect it by ID ### Current vs. Expected behavior Currently if you log in with a provider and then change your email on that provider, it will no longer function (GitHub example) ### What version of Better Auth are you using? 1.2.2 ### Provide environment information ```bash All ``` ### Which area(s) are affected? (Select all that apply) Backend ### Auth config (if applicable) _No response_ ### Additional context _No response_
GiteaMirror added the lockedbug labels 2026-04-13 03:36:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8520