Next.js Discord

Discord Forum

Permissions/roles library to work with NextAuth and apis?

Unanswered
Amur catfish posted this in #help-forum
Open in Discord
Amur catfishOP
Hi! I was wondering if there was any NextJS (or React) library that allows you to protect your api endpoints by checking if you have the right permissions to do it (something like a middleware?).

Something like laravel-spatie, but for NextJS/React

2 Replies

Amur catfishOP
up
Amur catfishOP
bump 😦