News for hackers. Stuff that matters.
Re:Stop using JWT for sessions (2016) by nbevans on Thursday November 01, 2018 @10:58AM (#18354469)
Cookies are implementation dependent. It's quite possible that a user agent doesn't honour what you instructed it to do regarding the expiration of a cookie.

JWT however... your server side can validate its own token in whatever ways it wants (including expiration). You can't get more secure than that.

Re:Stop using JWT for sessions (2016) by icebraining on Thursday November 01, 2018 @12:06PM (#18355356)
If you checking the session on the server, you might as well just use a token in a cookie. The point of the JWT complexity is to avoid that.
Re:Stop using JWT for sessions (2016) by nbevans on Friday November 02, 2018 @09:16AM (#18362764)
JWT tokens being passed via cookies is a valid use case.