[PR #1176] [MERGED] feat: New user callback url for sso and generic oauth #20571

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1176
Author: @kzlar
Created: 1/10/2025
Status: Merged
Merged: 1/14/2025
Merged by: @Bekacru

Base: mainHead: feat/new-user-callback-oauth


📝 Commits (1)

  • 16c0942 feat: New user callback url for sso and generic oauth

📊 Changes

3 files changed (+75 additions, -21 deletions)

View changed files

📝 packages/better-auth/src/plugins/generic-oauth/index.ts (+14 -3)
📝 packages/better-auth/src/plugins/generic-oauth/oauth2.test.ts (+55 -16)
📝 packages/better-auth/src/plugins/sso/index.ts (+6 -2)

📄 Description

  • Added support for new user callback URL for generic oauth and sso.
  • Updated test cases

🔄 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/1176 **Author:** [@kzlar](https://github.com/kzlar) **Created:** 1/10/2025 **Status:** ✅ Merged **Merged:** 1/14/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `feat/new-user-callback-oauth` --- ### 📝 Commits (1) - [`16c0942`](https://github.com/better-auth/better-auth/commit/16c0942396891d1222bfdc4c1e8c5f92ff708b9f) feat: New user callback url for sso and generic oauth ### 📊 Changes **3 files changed** (+75 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/generic-oauth/index.ts` (+14 -3) 📝 `packages/better-auth/src/plugins/generic-oauth/oauth2.test.ts` (+55 -16) 📝 `packages/better-auth/src/plugins/sso/index.ts` (+6 -2) </details> ### 📄 Description - Added support for new user callback URL for generic oauth and sso. - Updated test cases --- <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:47:10 -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#20571