News for hackers. Stuff that matters.
Re:JWT Tokens vs. Session Tokens by jabart on Tuesday May 28, 2024 @09:53AM (#40500789)
I thought the latest recommendation was to use JWTs with a 15 minute expiration. You could also put a JWT in a cookie. Also some implementations of a Session don't use a database lookup and need extra work to invalidate a session. Same lookup can be used on a JWT.
Re:JWT Tokens vs. Session Tokens by pcthrowaway on Tuesday May 28, 2024 @10:50AM (#40501252)
Yeah but then you give them a refresh token which you still have the same problem with.

> You could also put a JWT in a cookie.

Yep, I mentioned that also