News for hackers. Stuff that matters.
Re:Why to not use JWT (2021) by adolph on Thursday September 29, 2022 @10:17AM (#33020959)
> Both a session ID and a token are random strings clients send with requests to indicate who they are. Why were sessions inadequate, and how do tokens solve this problem?

JWT tokens are not random strings. They contain claims about the bearer that are cryptographically signed to prevent the bearer from altering them.

https://jwt.io/introduction

Re:Why to not use JWT (2021) by stefs on Thursday September 29, 2022 @10:52AM (#33021538)
yes, but they ask about the difference between session ids and bearer tokens (NOT jwt).