[PR #963] [MERGED] fix(social): should find a user based on a provider returned account id #29165

Closed
opened 2026-04-17 20:33:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/963
Author: @Bekacru
Created: 12/20/2024
Status: Merged
Merged: 12/20/2024
Merged by: @Bekacru

Base: mainHead: fix/link-oauth


📝 Commits (3)

  • be54529 fix: should find a user based on a provider returned account id
  • 7a4d154 chore: update snapshot
  • 97e3bd0 chore: fix type

📊 Changes

3 files changed (+64 additions, -3 deletions)

View changed files

📝 packages/better-auth/src/__snapshots__/init.test.ts.snap (+1 -0)
📝 packages/better-auth/src/db/internal-adapter.ts (+58 -0)
📝 packages/better-auth/src/oauth2/link-account.ts (+5 -3)

📄 Description

closes #959


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/963 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 12/20/2024 **Status:** ✅ Merged **Merged:** 12/20/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/link-oauth` --- ### 📝 Commits (3) - [`be54529`](https://github.com/better-auth/better-auth/commit/be54529fee2253e6c138e5a34b9004fdf55c8b91) fix: should find a user based on a provider returned account id - [`7a4d154`](https://github.com/better-auth/better-auth/commit/7a4d154e4ae3e342724b3f32dad3ad0e7abd0b09) chore: update snapshot - [`97e3bd0`](https://github.com/better-auth/better-auth/commit/97e3bd0ed4cdc9c3cc0f37aba6e05812a6512a0c) chore: fix type ### 📊 Changes **3 files changed** (+64 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/__snapshots__/init.test.ts.snap` (+1 -0) 📝 `packages/better-auth/src/db/internal-adapter.ts` (+58 -0) 📝 `packages/better-auth/src/oauth2/link-account.ts` (+5 -3) </details> ### 📄 Description closes #959 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 20:33:13 -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#29165