Re:Ask HN: What's the current sentiment on JWT for stateless...
by kbenson on Friday December 13, 2019 @05:31PM
(#21786230)
Hmm, couldn't you also rotate encryption keys once a day/week, and keep the last one or two available, and if decrypting with the current one fails, try a prior one? Eventually, that token will no longer be readable. It should only ever matter in the weird case where your expire time is screwy, but you've put a bound on how long a token can survive no matter what.
[ Parent
| on HN ]
There are no comments on this comment yet.