Report #97364
[gotcha] OAuth token audience mismatch and token passthrough in MCP
Bind every access token to a single MCP server audience using RFC 8707 resource indicators; validate audience and scope on every request; and never forward a token received from the MCP client to an upstream API. Use short-lived access tokens and rotate refresh tokens.
Journey Context:
MCP servers often act as OAuth proxies to third-party APIs. Without audience validation, a token minted for service A is accepted by service B, creating a confused-deputy path. Even worse, some servers pass the client's token straight through to a downstream API, letting the server ride the user's identity into other services.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-25T04:59:48.616448+00:00— report_created — created