Netlify has a blog page and one of the blog that I’m reading and trying to achieve is Getting Started with JWT and Identity. But the issue is their own page is not even doing the redirect properly.
Link : The Blogs Link
and here is the link of the demo:
Demo Example
So i should be redirect to login page if i visit the test auth page but it just lets me in. I’m having the same issue.
The example is about 6 years old, I won’t be surprised if it’s not working anymore. Please refer to the docs: Role-based access control with JWT | Netlify Docs