3 ms·
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
by numbsafari 10y ago
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.
- deleted 10y ago[deleted]
- mwpmaybe 10y agoI read this wrong the first time. That makes sense. Thank you.