Visual RFC.
ALL RFCs / RFC 7519
Read the RFC ↗
RFC 7519 / VALIDATION

Validation is a chain of checks

05

A token becomes usable only after parsing, cryptographic verification, and application checks succeed.

RFC 7519 · § 7.2EXAMPLE
4 / 4
04
Only then authorize an action.

Cryptographic validity alone does not establish permission.

Validation is a chain of checksA token moves through distinct parsing, cryptographic, claims, and application-policy gates.Validation has several gates✓Parse representation✓Verify signature / MAC✓Validate required claims✓Use under application policyA failed required gate rejects the token.

Key idea: Reject at the first failed required check.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Processing must reject a JWT if a required validation step fails.
  • The application determines acceptable algorithms; support for an algorithm does not imply it must be accepted.
  • Applications define required claims and the rules for their use.

The examples simplify the wire representation. Follow the linked specification and application profile for implementation.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A key is different from permission.

An app, a person, and a server have different roles. Follow who asks, who grants permission, and who checks the credential. A key in the drawing is an analogy, not a literal protocol field.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 7519 § 7.2RFC 8725 § 3

The JWT BCP strengthens implementation guidance: allowlist algorithms, validate issuer and audience, and use distinct validation rules for different token kinds.

Read the updated RFC section ↗

All chapters in RFC 7519

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗