Client-Side Decoding vs. Cryptographic Verification
A JSON Web Token (JWT) consists of three dot-separated Base64URL segments: header, payload, and signature. Because the header and payload are merely Base64URL-encoded JSON—not encrypted—anyone holding a token can read its claims locally.
Decoding a JWT in a browser tool never proves the token is authentic or unexpired. Production services must always verify cryptographic signatures (HS256, RS256, EdDSA) and exp/iss/aud claims server-side using trusted keys.