3 ms·
> 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 th
by adolph 4y ago
> 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 https://jwt.io/introduction
- stefs 4y agoyes, but they ask about the difference between session ids and bearer tokens (NOT jwt).