Decoded header and payload
Illustrative exampleDecoding reveals the header and the claims. Checking the HS256 signature additionally needs the secret (here the demo value demo-secret-not-for-production), which is why a decoded token alone proves nothing.
{ "alg": "HS256", "typ": "JWT"}{ "sub": "1234567890", "name": "Ada Lovelace", "admin": true, "iat": 1516239022, "exp": 1516242622}