[PR #2643] [MERGED] fix: use dynamic list of social providers to allow generic oauth #4420

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2643
Author: @BlankParticle
Created: 5/13/2025
Status: Merged
Merged: 5/20/2025
Merged by: @Bekacru

Base: mainHead: fix/use-dynamic-socal-providers


📝 Commits (1)

  • 13cd025 fix: use dynamic list of social providers to allow generic oauth

📊 Changes

3 files changed (+8 additions, -13 deletions)

View changed files

📝 packages/better-auth/src/api/routes/account.ts (+4 -9)
📝 packages/better-auth/src/api/routes/sign-in.ts (+1 -1)
📝 packages/better-auth/src/social-providers/index.ts (+3 -3)

📄 Description

fixes #2610
ref https://github.com/better-auth/better-auth/pull/2557#issuecomment-2876979264

the endpoints now use the soclal provider list in context so that generic oauth plugin providers are also allowed in token endpoints


🔄 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/2643 **Author:** [@BlankParticle](https://github.com/BlankParticle) **Created:** 5/13/2025 **Status:** ✅ Merged **Merged:** 5/20/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/use-dynamic-socal-providers` --- ### 📝 Commits (1) - [`13cd025`](https://github.com/better-auth/better-auth/commit/13cd025b61953fed454a3302ea3d8a864736c711) fix: use dynamic list of social providers to allow generic oauth ### 📊 Changes **3 files changed** (+8 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/account.ts` (+4 -9) 📝 `packages/better-auth/src/api/routes/sign-in.ts` (+1 -1) 📝 `packages/better-auth/src/social-providers/index.ts` (+3 -3) </details> ### 📄 Description fixes #2610 ref https://github.com/better-auth/better-auth/pull/2557#issuecomment-2876979264 the endpoints now use the soclal provider list in context so that generic oauth plugin providers are also allowed in token endpoints --- <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:45:41 -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#4420