Visual RFC.
ALL RFCs / RFC 6749
Read the RFC ↗
RFC 6749 / THE FRAMEWORK

Scope and protected resources

10

The client asks for privileges; the server decides what it actually grants.

RFC 6749 · § 3.3EXAMPLE
3 / 3
03
Enforce the granted permission.

The resource server checks whether this token authorizes this operation.

Scope and protected resourcesThe client asks for privileges; the server decides what it actually grants. Current state: Enforce the granted permission..Scope and protected resourcesrequested: read + writeAuthorizationgranted: readscope can narrowResource APIread requestThe client must respect the scope actually granted.

Key idea: A requested scope is not automatically granted.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Scopes are case-sensitive strings defined by the authorization server.
  • The server may partially or fully ignore the requested scope based on policy and authorization.
  • § 7 requires the resource server to validate the token and check the scope before serving protected resources.

Token validity and permission for a particular action are separate checks.

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

The BCP recommends minimal privileges, resource/action limits, and audience restrictions, with rejection of tokens meant for another resource server.

Read the updated RFC section ↗

All chapters in RFC 6749

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 ↗