Visual RFC.
ALL RFCs / RFC 7519
Read the RFC ↗
RFC 7519 / IDENTITY & AUDIENCE

Who said it, and who is it for?

03

Issuer, subject, and audience describe different roles in a claim.

RFC 7519 · § 4.1.3EXAMPLE
4 / 4
04
Apply recipient checks.

The billing service cannot accept this token under the illustrated audience policy.

Who said it, and who is it for?One issuer asserts a subject and audience; a fork distinguishes the intended service from another service.The recipient is part of validationIssuersub: user-42aud: ordersordersbillingintendedsame tokenwrong audience → reject

Key idea: A token for one service is not automatically valid at another.

Terms

Look up a term in the glossary ↗

Rules & examples
  • When aud is present, a processor that is not an intended audience must reject the JWT.
  • aud can be a single string or an array of strings.
  • sub must be locally unique within its issuer or globally unique.

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.

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 ↗