Join our Newsletter — 33% off our NHI Course
Home› FAQ› Authentication, Authorisation & Trust› How do you govern per-user OAuth for MCP…
Authentication, Authorisation & Trust

How do you govern per-user OAuth for MCP integrations?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 25, 2026 Domain: Authentication, Authorisation & Trust

Govern per-user OAuth by binding each MCP session to a named user, a specific client registration, and narrowly scoped tokens that can be revoked independently. Use consent, token audience limits, refresh token controls, and audit logs so the integration cannot reuse one person’s grant for another. Separate service account access from per-user authorization where shared automation is required.

What per-user OAuth changes in an MCP integration

Per-user OAuth turns the integration into a user-scoped trust relationship instead of a single shared credential path. Each session should be tied to one named user, one client registration, and tokens that only work for the intended audience and scopes. That gives you revocation, auditability, and consent at the person level rather than hiding everything behind one integration identity.

This matters because MCP often sits between a conversational or agentic client and downstream tools, so token handling is not just a login detail. If you want the surrounding protocol model as a reference point, the Model Context Protocol overview is useful for understanding where the client, server, and tool boundaries sit before you decide how OAuth should be governed.

Per-user OAuth also changes the operational question from “can the integration connect?” to “which person granted which permission, for which resource, and for how long?” That is why token audience restriction, refresh token policy, and consent handling are part of the control surface, not optional extras.

How to separate user grants from shared automation

Shared automation should not reuse a person’s OAuth grant just because it is convenient. If a process needs broad, persistent, or unattended access, that access should be designed as a separate service account or application flow with its own approval path, lifecycle, and logging. The strongest pattern is to keep human delegation and machine automation distinct so you do not blur accountability.

For the underlying OAuth mechanics, RFC 6749: The OAuth 2.0 Authorization Framework remains the baseline standard for client roles and grant types, while RFC 9700: Best Current Practice for OAuth 2.0 Security is the better guide for token theft resistance and modern deployment hardening. If your integration pattern includes on-behalf-of delegation, RFC 8693: OAuth 2.0 Token Exchange is the right reference for delegation and impersonation flows.

When the integration is acting for a user, the safer model is to exchange or scope down access instead of forwarding a long-lived grant unchanged. That keeps the effective privilege aligned to the downstream action and reduces the chance that one grant becomes a reusable path across multiple users or sessions.

Consent should be specific enough that the user understands the resource and the client, and narrow enough that the integration cannot silently expand its reach. Refresh tokens need tighter controls than access tokens because they extend the life of a delegation; if a refresh token is broadly reusable, revocation becomes much harder and compromise becomes more durable.

Audience restriction is central here. Model Context Protocol: Authorization specification is the clearest source for audience-bound tokens and the rule against token passthrough in HTTP transports, which is exactly the kind of design that prevents a token minted for one resource from being replayed somewhere else.

Audit logs should answer three practical questions: who authorized the grant, which client used it, and what resource was touched. If you cannot reconstruct those three facts quickly, the integration is not governed well enough for per-user access. For token handling patterns that support this kind of scoping, OAuth 2.0 and OpenID Connect Guide for Identity Teams is a useful companion reference.

Risk and Threat Considerations

Per-user OAuth reduces blast radius, but it does not eliminate token abuse, consent phishing, or confused-deputy behaviour. The main risk is that a grant intended for one user or one resource gets reused, forwarded, or over-scoped until the integration can act beyond the original intent.

Failure mechanism: A client, proxy, or agent reuses a user grant outside its intended audience, or a stolen refresh token allows persistent access after the original user session is gone. That failure becomes more likely when token passthrough, broad scopes, or weak revocation controls are accepted as implementation shortcuts.

Impact: The integration can expose data, invoke actions, or persist access under the wrong user context, which makes containment and attribution much harder. In practice, this can turn a single delegated login into a durable cross-user access path.

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-63 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-63IA-5 — Authenticator Lifecycle ManagementPer-user OAuth requires disciplined issuance, renewal, and revocation of bearer tokens.
Recommendation — Manage OAuth tokens as lifecycle-bound authenticators and revoke them promptly on change.
OWASP API Security Top 10API2 — Broken AuthenticationPer-user OAuth for MCP APIs fails when tokens are reused, forwarded, or insufficiently bound.
Recommendation — Validate that API access tokens authenticate the right user and cannot be replayed across contexts.

Practitioner Guidance

What to verify: Confirm that every MCP session maps to a distinct user principal, that the client registration is not shared across unrelated applications, and that refresh token revocation actually works when a grant is withdrawn.

Decision rule: If a workflow needs ongoing, unattended access, treat it as a separate automation identity rather than stretching per-user OAuth to cover it. If a user token must be reused across sessions, assume the design is too weak unless you can prove strict audience binding and independent revocation.

Common mistake: Teams often secure the login flow but ignore token lifecycle. That leaves consent, refresh, and audit controls under-specified even though those are the parts that determine whether the integration can be trusted after the initial handshake.

Practitioner takeaway: Govern per-user OAuth as a delegation boundary, not just an authentication feature, because the security outcome depends on how tightly you bind, scope, and revoke the token after it is issued.

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