[PR #405] [MERGED] fix: account linking should use link flag #3275

Closed
opened 2026-03-13 10:46:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/405
Author: @Bekacru
Created: 11/3/2024
Status: Merged
Merged: 11/3/2024
Merged by: @Bekacru

Base: mainHead: fix/account-linking


📝 Commits (2)

  • 56cf649 test: add auth api tests
  • 604757e fix: account linking should use link flag

📊 Changes

5 files changed (+70 additions, -6 deletions)

View changed files

📝 package.json (+1 -1)
📝 packages/better-auth/src/api/api.test.ts (+42 -0)
📝 packages/better-auth/src/api/routes/account.ts (+5 -2)
📝 packages/better-auth/src/api/routes/callback.ts (+8 -2)
📝 packages/better-auth/src/oauth2/state.ts (+14 -1)

📄 Description

closes #404


🔄 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/405 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 11/3/2024 **Status:** ✅ Merged **Merged:** 11/3/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/account-linking` --- ### 📝 Commits (2) - [`56cf649`](https://github.com/better-auth/better-auth/commit/56cf649d0771ebd8187e58d0e4e4c1062ae0c762) test: add auth api tests - [`604757e`](https://github.com/better-auth/better-auth/commit/604757e9902781357110b3da8f9a302c0c3cbc49) fix: account linking should use link flag ### 📊 Changes **5 files changed** (+70 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `packages/better-auth/src/api/api.test.ts` (+42 -0) 📝 `packages/better-auth/src/api/routes/account.ts` (+5 -2) 📝 `packages/better-auth/src/api/routes/callback.ts` (+8 -2) 📝 `packages/better-auth/src/oauth2/state.ts` (+14 -1) </details> ### 📄 Description closes #404 --- <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 10:46:29 -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#3275