JWT (JSON Web Token)
A signed, self-contained token that carries claims between parties.
A signed, self-contained token that carries claims between parties.
A JWT encodes claims (such as user id and expiry) in a Base64URL header and payload, with a signature. Anyone can decode it (try the JWT decoder), but only holders of the key can verify or issue one. Never store secrets in a JWT payload.