News for hackers. Stuff that matters.
Re:Use cookies and sessions (not JWTs) for authentication by akajla on Monday January 16, 2023 @11:39AM (#34402400)
> I want to include role (or other) information directly in the token for the sake of convenience

This works up until a certain point. Once you get past simple RBAC to more fine-grained (resource-based) authz, jwts don't scale: https://medium.com/building-carta/authz-cartas-highly-scalab...

There are no comments on this comment yet.