Stateless token verification with JWT
jonatan.nilsson.is
jonatan.nilsson.is
What if you issue the JWT with role permissions embedded, and the user is rejected from the role before the JWT expires. Then they can still execute actions they are no longer allowed to? It just seems like it could end badly...
Anything else would cause a lot of problems. Role permissions might change while a token is still active.
I was actually referencing this article: https://auth0.com/blog/2014/12/02/using-json-web-tokens-as-a...