(no title)
Robin_Message | 1 year ago
For the average web app, it feels like JWT introduces some complexity (and footguns like this) for no real benefit. I mean, you can avoid a session lookup from redis or something, but that's hardly an expensive part of a request. You can always optimise hot, non-session requests (e.g. private image serving can use signed URLs)
Also, you can't revoke sessions ns unless you have a revocation list, in which case, why not just have a session list?!
Genuinely interested in real use cases for JWTs.
npfries|1 year ago