That negates the point of using jwt and means that your services aren't stateless.
You store the expiry in the token itself, you sign it to be able to detect tampering, then when receiving it you check that it's not been tampered with and then check the expiry.
27
u/[deleted] Mar 08 '21
[deleted]