This is a simple repository which uses a Netliy function to add a cookie to your page with a role for the role based authorization.
Make sure to add the JWT_SECRET
to your environment variables inside your Netlify site.
This is a simple repository which uses a Netliy function to add a cookie to your page with a role for the role based authorization.
Make sure to add the JWT_SECRET
to your environment variables inside your Netlify site.