Implementing RBAC in Next.js 14 with Prisma and Auth0 Authentication

Hello Auth0 Community,

I’m currently working on a Next.js 14 app router project where I need to implement Role-Based Access Control (RBAC) for user permissions. I’m using Prisma for database interactions and Auth0 for authentication. While I couldn’t found any resources on setting up RBAC with Auth 0 and Prisma\ for App router.

Compared to other authentication providers, it seems like there might be less guidance available for this specific setup.

Could anyone provide insights or point me to relevant documentation/examples on how to implement RBAC in a Next.js application using Auth0 for authentication and Prisma for database interactions for Next 14 app router ? Previously i have worked on page router and it works well but i feel auth 0 doesn’t update accordingly to the trend.

Any help or guidance would be greatly appreciated. Thank you!