Re:Don't use JSON web tokens for sessions
by numbsafari on Monday June 13, 2016 @08:30PM
(#11898919)
I assign a unique ID for each token (the `jti` claim). So each token has a unique identifier and can be invalidated that way, and every token has the user's ID (the `sub` claim), and can be invalidated that way, if that fits your use case.
[ Parent
| on HN ]