The 7 Registered Claims in Detail
Need a cryptographically secure JWT secret right now?
Generate 128 to 512-bit keys in Hex or Base64 using Web Crypto with zero server transmission.
Frequently Asked Questions
Are timestamp claims in milliseconds or seconds?
Seconds! RFC 7519 defines NumericDate as seconds since Unix Epoch (1970-01-01T00:00:00Z). Passing JavaScript milliseconds (Date.now()) is a very common bug.
Related Technical Guides
Understanding JWT Expiration: Clock Skew, Leeway, and Refresh Token Strategy
Master token expiration: how to handle server clock drift with leeway, setting optimal access token lifespans, and pairing with refresh tokens.
JWT DecodingJWT Payload Explained: Public vs. Private Claims and Token Size Hygiene
Learn how to structure JWT payloads: registered, public, and private claims, size hygiene, and why sensitive personal data must never be stored in claims.