News for hackers. Stuff that matters.
Re:Stop using JWT for sessions (2016) by nine_k on Thursday November 01, 2018 @11:02AM (#18354536)
> Fine, revoke the master token

This is exactly the ability which JWT lacks.

You can, of course, combine a session ID (checked against a DB) with a short-lived token (stateless, with expiration time encoded). This will allow to only check the session against a DB if, say, more than 30 seconds has passed since the previous check. It helps with spiky traffic, and still allows to invalidate a session soon enough for practical reasons.

Re:Stop using JWT for sessions (2016) by vegardx on Thursday November 01, 2018 @11:09AM (#18354616)
And this reduces complexity of all backend systems, as they only have to deal with one mechanism for authentication and authorization.