-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provider Documentation: Micosoft Entra ID #12314
Comments
Thanks - I got an error about url format when I changed the Entra definition following update from beta 22 to beta 25. Changing to the url definition resolved the error. |
@Br4v3St4rr Thank you for your posting this. You just saved me many more hours of pain. The docs really need to be updated to specify that the issuer is not just the tenantId but the full url with the tenantId within it (or common if you're using not using a specific directory) |
The Putting the Tenant ID here instead of a URL will give you this error when trying to sign-in
@Br4v3St4rr's solution to change the provider config and assign the URL to AUTH_MICROSOFT_ENTRA_ID_ID="<Application (client) ID>"
AUTH_MICROSOFT_ENTRA_ID_SECRET="<Client secret (value)>"
AUTH_MICROSOFT_ENTRA_ID_TENANT="<Directory (tenant) ID>"
AUTH_MICROSOFT_ENTRA_ID_ISSUER="https://login.microsoftonline.com/$AUTH_MICROSOFT_ENTRA_ID_TENANT/v2.0" |
THAAAAAAAAAANKSSSS! Please update de Docs! |
I'm working on it |
What is the improvement or update you wish to see?
Hi,
Documentation for the Entra ID provider in the Setup -> Configuration -> NextJS section seems incorrect:
Should read:
Is there any context that might help us understand?
From the below it looks like the provider is expecting a URL in the
issuer
field.See
https://github.com/nextauthjs/next-auth/blob/main/packages/core/src/providers/microsoft-entra-id.ts
Line 108Does the docs page already exist? Please link to it.
https://authjs.dev/getting-started/providers/microsoft-entra-id
The text was updated successfully, but these errors were encountered: