I want to check if a user is an admin or not in a Nuxt route middleware with Supabase and prisma and redirect the user to the homepage if they are not an admin.
I want to check if a user is an admin or not in a Nuxt route middleware with Supabase and prisma
New contributor
hhhhhhh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.