News for hackers. Stuff that matters.
Re:Stop using JWT for sessions (2016) by matthewaveryusa on Thursday November 01, 2018 @06:18PM (#18358974)
Short TTLs on tokens can work very well depending on what the goal is.

If you're doing high-ops and your goal is to reduce authorization calls the TTL acts effectively as a cache that decouples API ops and authorization ops.

The compromise being that you can only rotate as fast as the TTL.

That is of course unless you want to implement revocation-list capabilities. But if your revocation-list server goes down you're back to the TTL limitation.

There are no comments on this comment yet.