Join our Newsletter — 33% off our NHI Course
Home› Glossary› Architecture & Implementation› Token Forwarding
Architecture & Implementation

Token Forwarding

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Architecture & Implementation

Token Forwarding is the practice of a service passing an access token it received from a client on to a downstream service, instead of obtaining a token issued for that service. It breaks audience restriction, enables confused deputy and replay abuse, and blurs audit trails. Defenders validate the audience claim and use token exchange to issue scoped downstream tokens.

How Token Forwarding Breaks Service-to-Service Trust

Token forwarding is dangerous because the downstream service is no longer seeing a token minted for itself. Instead, it is asked to trust a credential whose original audience was some other service, which undermines the basic boundary that access tokens are meant to enforce.

That creates a classic confused deputy pattern: a legitimate intermediary becomes a deputy that can be tricked into using broader authority than the caller should have downstream. Once that happens, the receiving service may accept requests it should have rejected, especially when the forwarded token still carries valid issuer, subject, and expiry claims.

The practical consequence is not just over-broad access, but also a blurred trust chain. A token that was valid for one hop can be replayed into another hop unless the architecture binds it to the intended resource or exchanges it for a new, scoped token.

Why Audience Restriction Matters

Audience restriction exists so a token is only useful where it was intended to be used. In a normal design, the token presented to Service B should identify Service B as the audience, or Service A should first exchange the client token for a downstream token that is explicitly scoped to the next hop.

When forwarding is used instead, the downstream service must interpret a token that may have been issued for a different resource server entirely. That weakens authorisation decisions, because the token’s presence no longer proves it was meant for the service that receives it.

For distributed systems, this distinction matters even more when one service aggregates or chains requests on behalf of a user or automation. The safest pattern is to treat each hop as a fresh authorisation decision, not as a privilege transfer by default.

How Organisations Detect and Prevent Token Forwarding

Exposure is usually found by tracing service call chains, reviewing where access tokens are passed through intermediaries, and checking whether downstream services validate audience and issuer claims before accepting a request. If the same bearer token appears unchanged across multiple internal hops, that is a strong sign the architecture is forwarding rather than exchanging.

Defensive designs typically replace forwarding with token exchange, sender-constrained tokens, or explicit resource indicators so the downstream token is narrower and easier to validate. For a practical comparison of these design choices, see the OAuth Token Exchange vs Token Passthrough guide.

Where the pattern appears in platform integrations and agentic or service-to-service flows, it helps to distinguish credential propagation from proper downstream authorisation. The Agent-to-Agent Authentication Guide is useful for understanding how audience-bound credentials and delegation controls should work across hops.

Operational Consequences for Audit and Incident Response

Token forwarding also weakens traceability. If multiple services reuse the same bearer token, logs can show a valid token at several layers without making it clear which service actually authorised the downstream action, which complicates accountability and post-incident reconstruction.

That ambiguity matters after misuse or compromise. A forwarded token can let an attacker move laterally through trusted services while appearing to act under a legitimate session, so defenders need to review downstream service logs, token claims, and call paths when investigating suspicious activity.

For teams designing internal API trust boundaries, this is why token validation strategy and token propagation strategy should be considered together. The API Gateway vs In-Service Token Validation guide shows how validation point choices affect the chance of a forwarding mistake becoming a broad trust failure.

Risk and Threat Considerations

Token forwarding creates a material security exposure because a bearer token can be replayed into a service that never intended to trust that audience. The result is often a confused deputy condition, broader-than-intended access, and weaker incident traceability across service boundaries.

Failure mechanism: An intermediary accepts a valid token from one client, forwards it unchanged, and a downstream service fails to enforce audience restriction or downstream token scoping. That lets the token authorise a hop it was never minted for.

Impact: Attackers or misconfigured integrations can gain unauthorized downstream access, preserve stolen tokens across more than one service, and obscure which component actually made the authorisation decision.

Standards & Framework Alignment

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

OWASP API Security Top 10 addresses the attack and risk surface, while 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 API Security Top 10API2 — Broken AuthenticationToken forwarding weakens token audience and acceptance checks.
Recommendation — Validate audience and issuer on every hop before accepting forwarded tokens.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe issue concerns safe handling and replacement of bearer tokens across services.
AC-6 — Least PrivilegeForwarded tokens often carry more authority than the downstream service needs.
AU-2 — Event LoggingForwarding blurs which service made the authorisation decision.
Recommendation — Rotate and scope tokens so downstream services receive purpose-bound credentials. Limit downstream access to the minimum authority required for each service call. Log token exchange and service-hop context to preserve auditability.
NIST Zero Trust (SP 800-207)Zero Trust ArchitectureEach service hop should re-verify trust instead of inheriting upstream authority.
Recommendation — Re-establish trust and authorisation at every service boundary.

Practitioner Guidance

Why practitioners should care: Treat token forwarding as an architectural smell, not a harmless implementation shortcut. If a service needs to call another service on behalf of a user or workload, the better pattern is to exchange the original token for a new one that is explicitly scoped to the downstream resource.

What to watch for: Review API gateways, service meshes, middleware, and shared client libraries for any code path that simply relays bearer tokens without audience checks. The right control objective is that each downstream service can prove the token was issued for it, not merely for some upstream part of the chain.

Practitioner takeaway: If the token’s audience does not match the receiving service, do not forward it, exchange it.

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 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org