Netlify Auth with JWT 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. Setup Make sure to add the JWT_SECRET to your environment variables inside your Netlify site.