Shared service accounts and per-app OAuth consent leave identity teams without a clear answer: which agent may act for which user in which application, and how you revoke it. Checks copied into every MCP server do not scale past a handful of tools.
AWS, with Okta, published on November 6, 2026 a two-part pattern for Okta Cross App Access (XAA) and Amazon Bedrock AgentCore. Okta is the governance plane: register the agent, admin-approve which apps it may reach, and evaluate policy each time the agent asks to act for a user. AgentCore Identity is the execution plane: it holds agent credentials and redeems Okta’s decision into tokens the resource accepts. Flow: the BFF exchanges the user’s ID token for a single-use ID-JAG (≈5-minute expiry) via RFC 8693; AgentCore runtime accepts only ID-JAGs issued to that agent; Identity redeems for a short-lived access token naming both user and agent. Vendor tests reported that after removing a user’s agent assignment, Okta refused new requests within about 1 second, with already-issued tokens lasting up to 5 minutes. Part 2 moves authorization to AgentCore Gateway as the front door — Cedar policies bind tools to agent and Okta-delegated scope before invoke — and shows a second agent on EKS under its own Okta identity, with AgentCore Observability and Okta System Log streamed to CloudWatch.
What security and platform owners should require before agents call production tools:
- Decide agent↔user↔app grants in the IdP (XAA), not in ad-hoc OAuth consent or shared bot accounts
- Put tool allow/deny in Gateway Cedar policies — do not duplicate authz inside every MCP server
- Treat ID-JAG and access-token TTLs as the revoke window; monitor allow/deny spans beside Okta System Log
Agents that impersonate users without IdP policy are shadow identities. Okta XAA plus AgentCore Gateway is how that control lands on AWS.