Understanding JWT Structure
A JWT has three parts separated by dots: a header (algorithm and token type), a payload (claims like user ID and expiry), and a signature. The header and payload are Base64url-encoded, making them trivially readable by anyone who has the token.