Skip to content
Web Security

What is JWT Claims?

The signed JSON assertions inside a JSON Web Token, such as subject, expiry, issuer, and role. Services trust claims only after verifying signature, issuer, audience, and expiration together.

Example

An API route accepts a bearer JWT, verifies signature plus expiry, issuer, and audience, then reads the role claim for authorization. Expired tokens earn a 401 even when the signature itself still checks out.

What people get wrong

Trusting claims from an unverified token, or skipping audience checks. A valid signature from the wrong issuer is still the wrong issuer.

Sources

Browse all Web Security terms →