[PR #1462] [MERGED] feat(auth): set tokens on oauth account created during link #20720

Closed
opened 2026-04-15 19:53:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1462
Author: @thiagofelix
Created: 2/16/2025
Status: Merged
Merged: 2/20/2025
Merged by: @Bekacru

Base: mainHead: feat/link-tokens


📝 Commits (1)

  • 9411028 feat(auth): set tokens on oauth account created during link

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/api/routes/callback.ts (+2 -0)

📄 Description

Make sure accounts created via manual linking do have oauth tokens included in db same way as when regular oauth login happens.

fixes #1461


🔄 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/1462 **Author:** [@thiagofelix](https://github.com/thiagofelix) **Created:** 2/16/2025 **Status:** ✅ Merged **Merged:** 2/20/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `feat/link-tokens` --- ### 📝 Commits (1) - [`9411028`](https://github.com/better-auth/better-auth/commit/941102894feded3b04cd9846fe2f08bff97317ce) feat(auth): set tokens on oauth account created during link ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/callback.ts` (+2 -0) </details> ### 📄 Description Make sure accounts created via manual linking do have oauth tokens included in db same way as when regular oauth login happens. fixes #1461 --- <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-15 19:53:14 -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#20720