[PR #3663] [MERGED] fix: Pass loginHint to Microsoft OAuth URL #4943

Closed
opened 2026-03-13 12:05:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3663
Author: @widavies
Created: 7/28/2025
Status: Merged
Merged: 7/28/2025
Merged by: @Bekacru

Base: mainHead: main


📝 Commits (3)

📊 Changes

2 files changed (+6 additions, -0 deletions)

View changed files

.changeset/stale-tomatoes-warn.md (+5 -0)
📝 packages/better-auth/src/social-providers/microsoft-entra-id.ts (+1 -0)

📄 Description

Summary by cubic

Added support for passing a loginHint to the Microsoft OAuth URL to improve user sign-in experience.


🔄 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/3663 **Author:** [@widavies](https://github.com/widavies) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 7/28/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`3c5008a`](https://github.com/better-auth/better-auth/commit/3c5008aaddab7148fdc6df21a2e16a19a6ae07ef) Pass `loginHint` to Microsoft OAuth URL - [`5f27c72`](https://github.com/better-auth/better-auth/commit/5f27c72ea266f218ec2ce4dfb9654956207a2e38) chore: lint - [`e266d4b`](https://github.com/better-auth/better-auth/commit/e266d4bf72d6c216ae571f33c0e039705279015b) chore: add changeset ### 📊 Changes **2 files changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/stale-tomatoes-warn.md` (+5 -0) 📝 `packages/better-auth/src/social-providers/microsoft-entra-id.ts` (+1 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added support for passing a `loginHint` to the Microsoft OAuth URL to improve user sign-in experience. <!-- End of auto-generated description by cubic. --> --- <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 12:05:02 -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#4943