News for hackers. Stuff that matters.
Re:What Have We Forgotten? by rednafi on Wednesday January 29, 2025 @04:05AM (#42863007)
JWT is one of the worst things that came out of the JS frontend ecosystem and spread everywhere. It made working with services so much more cumbersome in the name of security.

Then people started using it to carry contextual information, and now it’s pretty common to see ginormous tokens being sent out in every S2S call.

Also, everyone loves working with obnoxiously short token refresh time.

Re:What Have We Forgotten? by donatj on Wednesday January 29, 2025 @04:24AM (#42863093)
The number of times I have had to remind a developer that the contents of the JWT are readable is nuts. Way too often they want to treat it like a general session store and just toss any old state in there regardless of if the end user should be able to see the value.
Re:What Have We Forgotten? by feoren on Wednesday January 29, 2025 @07:01AM (#42863957)
The contents of a session cookie are also readable...
Re:What Have We Forgotten? by dasil003 on Wednesday January 29, 2025 @10:59AM (#42866590)
I think he's talking about a server-side session store (or perhaps an encrypted cookie payload)