[PR #3806] [MERGED] feat: enhance Microsoft Entra ID type definitions #21917

Closed
opened 2026-04-15 20:41:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3806
Author: @Kinfe123
Created: 8/5/2025
Status: Merged
Merged: 8/23/2025
Merged by: @himself65

Base: canaryHead: fix/microsoft-entry-id-profile


📝 Commits (10+)

📊 Changes

1 file changed (+97 additions, -2 deletions)

View changed files

📝 packages/better-auth/src/social-providers/microsoft-entra-id.ts (+97 -2)

📄 Description

closes #3802

Summary by cubic

Expanded the Microsoft Entra ID profile type to include all standard and optional claims, making type definitions more complete and accurate. This improves type safety and helps developers access all available user profile fields.


🔄 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/3806 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 8/5/2025 **Status:** ✅ Merged **Merged:** 8/23/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/microsoft-entry-id-profile` --- ### 📝 Commits (10+) - [`9bbd1bc`](https://github.com/better-auth/better-auth/commit/9bbd1bcf8218c056d27b6a88d6f1e46b5a2b3075) fix: await `ctx` in middleware (#3783) - [`2fb10ad`](https://github.com/better-auth/better-auth/commit/2fb10adfadb113c6f51064a3024d7bd19f5c8ba7) chore: remove changeset and add contributing code of conduct - [`7d76fda`](https://github.com/better-auth/better-auth/commit/7d76fda948dadbfb0b5afad6c6bba1f51c5a60d7) chore: remove changeset ci - [`22bd63b`](https://github.com/better-auth/better-auth/commit/22bd63bfdb5ccf8f72799e098df50d5bd1e1fbb5) rebase - [`e4fc583`](https://github.com/better-auth/better-auth/commit/e4fc583ce9f2d1d4b06081e727ca3512df55e338) fix(magic-link): magic link URL construction (#3770) - [`3f3d74c`](https://github.com/better-auth/better-auth/commit/3f3d74c9368b6918394caee53f55de0d3a279956) chore: remove log - [`0ad87f7`](https://github.com/better-auth/better-auth/commit/0ad87f7990540af12e4253f7865542c87b736c41) feat: allow `getUserInfo` to return number type (#3816) - [`ac58af8`](https://github.com/better-auth/better-auth/commit/ac58af8cedbe9a00a9d41f79ff8a4fa108517d3c) feat: enhance Microsoft Entra ID type definitions - [`0d75667`](https://github.com/better-auth/better-auth/commit/0d7566731edc5c9b09229743afb61fa4c17c48ec) docs - [`20c574b`](https://github.com/better-auth/better-auth/commit/20c574b2b08671c9bdf25daad2674c02bbe09cfd) clean up ### 📊 Changes **1 file changed** (+97 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/social-providers/microsoft-entra-id.ts` (+97 -2) </details> ### 📄 Description closes #3802 <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Expanded the Microsoft Entra ID profile type to include all standard and optional claims, making type definitions more complete and accurate. This improves type safety and helps developers access all available user profile fields. <!-- 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-04-15 20:41:48 -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#21917