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 have a single provider Microsoft Entra ID (Azure AD) and I want the user to be auto redirected to the sign-in page of Microsoft Entra ID when he vists the site as below:
User logins to the website, ie. localhost:3000/
If the user is not logged in, the user is redirected to the Microsoft Entra ID login page
Upon successful login, the user is redirected to the homepage.
If the user logs out, the user is again redirected to the Microsoft Entra ID login page
How can this be done with Next-Auth v5 and NextJS 14 app directory?
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
-
I have a single provider Microsoft Entra ID (Azure AD) and I want the user to be auto redirected to the sign-in page of Microsoft Entra ID when he vists the site as below:
How can this be done with Next-Auth v5 and NextJS 14 app directory?
Ref: #4078
Beta Was this translation helpful? Give feedback.
All reactions