[PR #3013] [MERGED] fix: scope issues for Google and Microsoft #4603

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3013
Author: @jafri
Created: 6/13/2025
Status: Merged
Merged: 6/15/2025
Merged by: @Bekacru

Base: mainHead: main


📝 Commits (1)

📊 Changes

2 files changed (+4 additions, -1 deletions)

View changed files

📝 packages/better-auth/src/social-providers/google.ts (+3 -0)
📝 packages/better-auth/src/social-providers/microsoft-entra-id.ts (+1 -1)

📄 Description

For Microsoft: Allows incremental scope expansion
For Google: Return all granted scopes to current key, so that signIn does not overwrite previously granted scopes in db


🔄 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/3013 **Author:** [@jafri](https://github.com/jafri) **Created:** 6/13/2025 **Status:** ✅ Merged **Merged:** 6/15/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`8e2ec30`](https://github.com/better-auth/better-auth/commit/8e2ec30d01fa03d6ca00011c3166e31bd77849ad) Fix scope issues ### 📊 Changes **2 files changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/social-providers/google.ts` (+3 -0) 📝 `packages/better-auth/src/social-providers/microsoft-entra-id.ts` (+1 -1) </details> ### 📄 Description For Microsoft: Allows incremental scope expansion For Google: Return all granted scopes to current key, so that signIn does not overwrite previously granted scopes in db --- <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:52:19 -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#4603