Visual RFC.
ALL RFCs / RFC 9700
Read the RFC ↗
RFC 9700 / THE FOUNDATIONS

Limit token privileges

05

A token should carry only the audience, resources, and actions the app actually needs.

RFC 9700 · § 2.3EXAMPLE
4 / 4
04
A different door stays closed.

The payments server rejects this calendar token.

Limit token privilegesA token should carry only the audience, resources, and actions the app actually needs. Current state: A different door stays closed..Limit token privilegesAuthorization serverissued access tokenaud: calendarscope: calendar:readissueAudience = service · scope = allowed actionCalendar APIread calendarPayments APIsame tokenWrong audience → rejected

Key idea: Restrict the audience and the action.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Access-token privileges SHOULD be the minimum needed for the use case.
  • Tokens SHOULD be limited to a specific resource server, or a small set. Servers MUST reject a token intended for a different audience.
  • Restrict resources and actions as well. scope, resource, and authorization_details can express the intended bounds.

Audience restriction answers “where?” Scope and detailed authorization answer “what?” A token for reading a calendar should not become a general-purpose account key.

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 6749 § 3.3RFC 9700 § 2.3

Privilege restriction now explicitly includes audience, resources, and actions, with server-side checks on each request.

Read the updated RFC section ↗

All chapters in RFC 9700

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 ↗