[RFC] 135 - Microsoft national cloud deployments #9292
jimseiwert
started this conversation in
RFCs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal: allow users to specify additional Microsoft cloud for login such as .us vs .com
Background
Microsoft has several different cloud endpoints depending on offerings being used. To authenticate against these you need to change your endpoints as such. This PR is an extension of the initial offering for Microsoft Entra authentication. nextauthjs/next-auth#9154 (comment).
Additional endpoints can be seen here: https://learn.microsoft.com/en-us/graph/deployments
Proposal
I propose we add an additional environment variable called AUTH_MICROSOFT_ENTRA_ID_BASE_URL with a default value of https://login.microsoftonline.com/. If the user specifies a different endpoint we will use that value.
This will maintain backwards compatibility and allow for future expansion. Happy to submit a PR to support.
AUTH_MICROSOFT_ENTRA_ID_BASE_URLrouting #9293Beta Was this translation helpful? Give feedback.
All reactions