
User data in Mongo for authentication

Cookies generated for authentication

A user logged in but not with the required role.
0 likes · 6 views · Feb 12, 2025
I had to develop a authentication using NextAuth with JWT. The authentication system works for role-based access.