Re:JWT Tokens vs. Session Tokens
by KevinMS on Tuesday May 28, 2024 @06:38PM
(#40506356)
you can put a session token in a JWT token with a short life to prevent your database from being pestered, only bothering it when the JWT expires and reassign a new one (JWT). The downside is if you revoke the session token you have to wait for the JWT to expire before the login is over.
[ Parent
| on HN ]
There are no comments on this comment yet.