You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to integrate Microsoft Entra ID into my Next.js app using NextAuth.js, and I’m a bit stuck.
So far I’ve:
Registered an app in an external Entra tenant
Created a user flow (sign-up/sign-in)
Linked the app to the user flow as per Microsoft’s docs
What I want is for users to be redirected to the Entra-hosted UI (the user flow screen) for sign-in/sign-up, and then come back to my app once authenticated.
I saw that NextAuth.js has a built-in MicrosoftEntraID provider is it possible to use that with Entra External ID and user flows? Or do I need to go with a custom OAuth provider setup?
Would really appreciate any pointers or examples if someone has done this before
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks
I’m trying to integrate Microsoft Entra ID into my Next.js app using NextAuth.js, and I’m a bit stuck.
So far I’ve:
What I want is for users to be redirected to the Entra-hosted UI (the user flow screen) for sign-in/sign-up, and then come back to my app once authenticated.
I saw that NextAuth.js has a built-in MicrosoftEntraID provider is it possible to use that with Entra External ID and user flows? Or do I need to go with a custom OAuth provider setup?
Would really appreciate any pointers or examples if someone has done this before
Beta Was this translation helpful? Give feedback.
All reactions