Azure Entra User OAuth with NextJS14
Hi all,
I am currently developing community web application using NextJs14 for an organization. I am hoping to integrate Azure Entra service as a user management service to secure the application. My current requirements are,
Onboard guest users and SSO with third party providers like Google
Manage organization member users
Role base access control for the web application (Ex: creating a user group for admins and only admins should be able to access to the application admin dashboard)
Is anyone has integrated Azure Entra with NextJs14 app router while achieving above requirements.
I have tried to find sample project or documentation which explain the integrating process, but I couldn't found much, specially how to add custom roles to the users (admins) and implement authorization restrictions on the web pages like admin dashboards.
Also is NextAuth.js library supports for the RBAC with Microsoft Entra out of the box, or is there any alternatives.