Guide

What's inside a JWT — and what it doesn't protect

A JSON Web Token looks opaque, and that appearance does a lot of damage. It is not encrypted, it is not a secret, and pasting one into a decoder is not a security hole — the payload was always readable. What the signature protects is that nobody changed it.