News for hackers. Stuff that matters.
Re:JWT should not be your default for sessions by hobofan on Thursday May 13, 2021 @02:58AM (#27139215)
You can "just" use a per-user "generation" key, which invalidates all keys when incremented server-side. The list can generally be mainted by polling every few seconds or via a websocket if you need the fastest possible expiry. Since most JWT libraries allow you to customize the validation function it's often pretty trivial to add, and overall comes only with a small memory penalty.

There are no comments on this comment yet.