Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

RFC 8707

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Authentication, Authorisation & Trust

RFC 8707 is an OAuth 2.0 extension for resource indicators. It lets a client ask for an access token that is scoped to a particular resource server or audience, rather than a token usable everywhere the authorisation server trusts it. That limits token reach and reduces confused-deputy style misuse.

How RFC 8707 Changes OAuth Token Scope

RFC 8707 adds a resource indicator to OAuth 2.0 so the client can ask for a token meant for one named resource server or audience, instead of a broadly valid bearer token. That narrower scope changes how authorisation servers mint tokens, how resource servers evaluate them, and how safely tokens can move through multi-service environments.

For implementers, the practical value is not the syntax itself but the boundary it creates. A token tied to one resource is less useful if intercepted, forwarded to the wrong API, or replayed against a different backend. That makes the extension especially relevant where a single client interacts with multiple protected resources, or where an intermediary could otherwise become an unintended proxy.

Why Resource Indicators Reduce Confused-Deputy Risk

The main security problem RFC 8707 addresses is over-broad audience trust. Without a resource indicator, a token may be accepted in places the client did not intend, which can create confused-deputy failures, token forwarding abuse, and accidental lateral reach across APIs or services.

That matters most when a token is carried by a gateway, broker, agent, or integration layer that can see more than one backend. In those designs, audience restriction helps keep the token aligned with the actual downstream resource rather than with a generic trust relationship at the authorisation server.

Used well, RFC 8707 also complements broader OAuth scope design, because scope alone often describes what a token can do, while the resource indicator helps define where it can be used. Those are different controls, and the strongest deployments use both.

How Organisations Use It in Real Deployments

In practice, organisations check where tokens are issued, where they are presented, and whether the target resource is unambiguous at request time. That usually means aligning client configuration, authorisation-server policy, and resource-server validation so the token audience matches the intended backend and does not drift as requests pass through intermediaries.

RFC 8707 is also useful in architectures that expose several APIs behind one client, especially when different backends have different data sensitivity, trust boundaries, or operational ownership. Narrow audience binding can prevent a token intended for one API from becoming a generic credential for everything the client can reach.

For readers dealing with OAuth and agent-mediated access, the extension is often discussed alongside OAuth Scope Design Guide and OAuth Token Exchange vs Token Passthrough, because audience restriction, delegation shape, and downstream token handling tend to fail or succeed together.

What Good Verification and Remediation Look Like

Verification starts with confirming that the authorisation server actually honours the resource parameter and that the resource server rejects tokens not minted for it. If tokens are accepted too broadly, the problem is not merely conceptual, it is an exposure in the validation path that can undermine least-privilege access across the whole API estate.

When a deployment cannot yet enforce resource-specific tokens everywhere, compensating controls usually include tighter gateway enforcement, stricter client registration, improved audience validation, and removal of token forwarding patterns that blur who the token is really for. Those controls do not replace RFC 8707, but they can limit blast radius until the full audience model is in place.

For implementation and troubleshooting detail, the most authoritative starting point is the RFC itself: RFC 8707: Resource Indicators for OAuth 2.0. In operational terms, that specification is the source of truth for how the resource indicator is defined and why audience scoping is security-relevant.

Risk and Threat Considerations

RFC 8707 reduces the damage that can come from token reuse, but only if the resource server actually enforces audience restrictions. If audience checks are inconsistent, a token can still become a broad bearer credential and enable confused-deputy abuse, unintended cross-service access, or replay against the wrong backend.

Failure mechanism: An attacker, proxy, or over-privileged intermediary obtains a token that was not tightly bound to the intended resource, then reuses it where the acceptance rules are too permissive or poorly implemented.

Impact: The result can be token replay, expanded access beyond the intended service, and a compromise path that crosses trust boundaries the client never meant to grant.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP ASVS, NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP ASVSV10 — OAuth and OIDCRFC 8707 changes OAuth audience and token handling in authorised flows
Recommendation — Validate audience binding and resource-specific token use in OAuth implementations.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementAudience-scoped access tokens are identity-bearing material whose lifecycle and use must be controlled
AC-6 — Least PrivilegeResource indicators narrow token reach to the intended resource server
SC-23 — Session AuthenticityAudience restriction helps prevent token replay and misuse across services
Recommendation — Manage token issuance, scope, and reuse to prevent overbroad access. Limit each token to the minimum resource access needed. Bind tokens to the intended recipient and reject cross-resource reuse.
NIST Zero Trust (SP 800-207)Zero Trust ArchitectureResource-bound tokens reinforce explicit verification of each resource access
Recommendation — Verify each token against the specific resource being accessed.

Practitioner Guidance

Why practitioners should care: RFC 8707 is most valuable where one client, broker, or agent touches multiple protected resources and token audience really matters. Treat it as a control for narrowing token reach, not as a replacement for scopes, sender-constrained tokens, or careful gateway policy.

Common misunderstanding: A resource indicator does not automatically make a deployment safe. If downstream services accept tokens too loosely, or if token forwarding remains unchecked, the audience claim becomes advisory rather than protective.

Practitioner takeaway: Use RFC 8707 wherever token reuse across backends would be dangerous, and verify that the resource server enforces the restriction rather than assuming the authorisation server alone has solved the problem.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org