Next.js Discord

Discord Forum

NEXTjs authentication in msal library

Rock Dove posted this in #help-forum
Open in Discord
Rock DoveOP
In my nextjs project I'm using msal-react to authenticate my users with azure ad, my problem is how can I create protected routes and role based access routes in my nextjs project with the access token received by the msal authentication. I'm not using next-auth to authenticate users

0 Replies