[PR #3038] [MERGED] fix: duplicate oauth registration #4619

Closed
opened 2026-03-13 11:52:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3038
Author: @Bekacru
Created: 6/15/2025
Status: Merged
Merged: 6/15/2025
Merged by: @Bekacru

Base: mainHead: fix/potential-dup-oauth-registration


📝 Commits (2)

  • d15f4c1 fix: duplicate oauth registration
  • bfe4c37 revert to checking account id instead

📊 Changes

2 files changed (+32 additions, -14 deletions)

View changed files

📝 packages/better-auth/src/db/internal-adapter.ts (+29 -13)
📝 packages/better-auth/src/oauth2/link-account.ts (+3 -1)

📄 Description

No description provided


🔄 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/3038 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 6/15/2025 **Status:** ✅ Merged **Merged:** 6/15/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/potential-dup-oauth-registration` --- ### 📝 Commits (2) - [`d15f4c1`](https://github.com/better-auth/better-auth/commit/d15f4c118f514a051c92cc6f35153ab1e18abf74) fix: duplicate oauth registration - [`bfe4c37`](https://github.com/better-auth/better-auth/commit/bfe4c37e74c0ac39a4fcc09a915559f04493a7a6) revert to checking account id instead ### 📊 Changes **2 files changed** (+32 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/db/internal-adapter.ts` (+29 -13) 📝 `packages/better-auth/src/oauth2/link-account.ts` (+3 -1) </details> ### 📄 Description _No description provided_ --- <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-03-13 11:52:54 -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#4619