Anatomy of a JSON Web Token (RFC 7519)
A standard JWS token consists of three Base64URL-encoded segments separated by dots: Header, Payload, and Signature. Because the header and payload are merely Base64URL-encoded—not encrypted—anyone holding a token can read its claims.
Never store passwords, Social Security numbers, credit card details, or confidential API keys inside unencrypted JWT claims. Treat JWT payloads as tamper-evident, not secret.