Re:Ask HN: What's the recommended method of adding authentic...
by 013a on Tuesday January 16, 2018 @05:18PM
(#16163255)
That doesn't mean JWTs are bad; it just means their use case is more restrictive. JWTs are designed for sessions; think Google API tokens that have a validity of 1 hour. If you're using them for anything longer than that, then you'll probably need to back it with a database so you can support revocation, and at that point JWTs make less sense because they're so large.
[ Parent
| on HN ]
There are no comments on this comment yet.