An unsigned token for learning the format
- Input
eyJhbGciOiJub25lIn0.eyJzdWIiOiJkZW1vIiwiZXhwIjoxNzA0MDY3MjAwfQ.- Result
{"header":{"alg":"none"},"payload":{"sub":"demo","exp":1704067200}}
The example uses alg=none and an empty signature. It displays sub=demo and exp=1704067200, meaning 1 January 2024 at 00:00 UTC. The decoder displays this value without deciding whether the token has expired.