[PR #2295] [CLOSED] feat: smarter overriding implementation for oauth mapped fields #29851

Closed
opened 2026-04-17 21:06:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2295
Author: @Bekacru
Created: 4/15/2025
Status: Closed

Base: canaryHead: feat/com-overriding


📝 Commits (6)

  • 649bb10 feat: make oauth overrding more comprehensive
  • c08e058 docs: clarify behavior of overrideUserInfoOnSignIn in OAuth documentation
  • acb4206 fix
  • 11fc979 fix: check if override is truthy
  • 9725e40 docs: improve mount handler instructions and add note on cookie integration
  • b529ae8 chore: fix type

📊 Changes

8 files changed (+120 additions, -43 deletions)

View changed files

📝 docs/content/docs/concepts/oauth.mdx (+12 -3)
📝 docs/content/docs/installation.mdx (+4 -7)
📝 packages/better-auth/src/api/routes/callback.ts (+2 -0)
📝 packages/better-auth/src/api/routes/sign-in.ts (+3 -4)
📝 packages/better-auth/src/oauth2/link-account.ts (+33 -14)
📝 packages/better-auth/src/oauth2/types.ts (+12 -3)
📝 packages/better-auth/src/plugins/sso/index.ts (+4 -1)
📝 packages/better-auth/src/social-providers/social.test.ts (+50 -11)

📄 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/2295 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 4/15/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/com-overriding` --- ### 📝 Commits (6) - [`649bb10`](https://github.com/better-auth/better-auth/commit/649bb106a4dbb6528a3eb281890ae8c6e559a304) feat: make oauth overrding more comprehensive - [`c08e058`](https://github.com/better-auth/better-auth/commit/c08e0584c4846f24705d279d4647b568744252b8) docs: clarify behavior of overrideUserInfoOnSignIn in OAuth documentation - [`acb4206`](https://github.com/better-auth/better-auth/commit/acb4206b939fd6818ca984cb28eabeacfe2e8b0a) fix - [`11fc979`](https://github.com/better-auth/better-auth/commit/11fc979c7a4c70f9fc96d90f3f664f1b460c865b) fix: check if override is truthy - [`9725e40`](https://github.com/better-auth/better-auth/commit/9725e40dafdda2c9f477004b83bba65af9b4386b) docs: improve mount handler instructions and add note on cookie integration - [`b529ae8`](https://github.com/better-auth/better-auth/commit/b529ae89d69e428952eec8f90a448fbd3845a58c) chore: fix type ### 📊 Changes **8 files changed** (+120 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/oauth.mdx` (+12 -3) 📝 `docs/content/docs/installation.mdx` (+4 -7) 📝 `packages/better-auth/src/api/routes/callback.ts` (+2 -0) 📝 `packages/better-auth/src/api/routes/sign-in.ts` (+3 -4) 📝 `packages/better-auth/src/oauth2/link-account.ts` (+33 -14) 📝 `packages/better-auth/src/oauth2/types.ts` (+12 -3) 📝 `packages/better-auth/src/plugins/sso/index.ts` (+4 -1) 📝 `packages/better-auth/src/social-providers/social.test.ts` (+50 -11) </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-04-17 21:06: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#29851