From the AWS edition of November 24, 2026
AWS shows how Amazon Cognito token exchange lets AI agents and MCP servers act for a user with scoped, audience-bound tokens that name the agent, including with AgentCore Identity
Amazon Web Services · Identity and access management for AI agents · Global (all Regions where Amazon Cognito is available, per AWS)
- Publisher
- AWS Security Blog
- Original publication
- 2026-11-24
- Source retrieved
- 2026-11-25
- Event date
- 2026-11-12
What happened
An AWS Security Blog post of November 24, 2026 explains OAuth 2.0 token exchange (RFC 8693) in Amazon Cognito, launched November 12, for services and AI agents that call APIs on a user's behalf. It distinguishes impersonation (the issued token represents only the user) from delegation, where the calling agent sends its own actor token and Cognito adds an act claim naming it, so the downstream API and its logs can see both the user and the agent. Issued tokens are bound to one audience, can carry narrower scopes, expire no later than the user's token and come without a refresh token. The post walks through an MCP server example and an AgentCore Identity and Runtime configuration, and tells resource servers to accept delegated tokens only when act.client_id is a trusted service. The launch notice says the feature is on the Essentials and Plus plans in all Regions where Cognito is available. The same day's AWS weekly roundup lists Cognito dynamic client registration (RFC 7591) for MCP clients and agents, alongside STS scoped credentials and CloudFront network calls, as identity features for agents. Independent context: CSO Online (Oct 8) reported researchers' findings that AgentCore default configurations let prompt injection reach plaintext credentials and broad permissions; AWS disputed that these were vulnerabilities.
Why it matters
Relevant to state and local IT, universities and K-12 districts that use Cognito for resident, student or staff sign-in and are adding AI agents or MCP servers: delegation gives an audit record showing which agent acted for which person, which public-records, FERPA and benefits-case audit trails need. No SLED deployment is cited.
Evidence and measured results
AWS-authored how-to and launch notice; no customer, performance or security test results. CSO Online is independent reporting on related AgentCore risks, used as context; it does not evaluate token exchange.
Limitations and uncertainty
Vendor guidance only; GovCloud availability not separately confirmed beyond 'all Regions where Cognito is available'; feature launched Nov 12, the Nov 24 post is new guidance; independent reporting concerns AgentCore defaults, not this feature.
Put this evidence to work
Lighthouse Advisory interpretation, grounded in this source. Enriched 2026-11-25; this does not change the original publication date. Each role follows the same checklist so takeaways compare across sources.
Sales
Role takeaway
- Customer problem
- Agencies piloting AI agents cannot show auditors which agent acted on whose behalf when agents forward user tokens.
- Stakeholders
- Identity and access management lead
- Agency CISO
- Application owners
- Records and audit officers
- University IT security
- Discovery questions
- Do your agents forward users' access tokens today?
- Which APIs do agents call on users' behalf?
- Are your Cognito user pools on Essentials or Plus?
- How are agent actions logged now?
- Value hypothesis
- Delegated tokens could give auditable, least-privilege agent access without custom token minting; no measured benefit is published (interpretation).
- Potential engagement
- An identity design review and pilot of token exchange for one agent or MCP server workflow.
- Unsupported claims
- Prevention of prompt injection
- Compliance with a named audit standard
- Confirmed GovCloud availability
- Any SLED customer results
Pre-sales engineering
Role takeaway
- Fit
- Cognito-based applications adding AI agents or MCP servers that call downstream APIs for users.
- Architecture and integration
- Token endpoint or GetDerivedToken API; AgentCore Identity credential provider and Runtime JWT authorizer per AWS example.
- Prerequisites
- Essentials or Plus plan
- ALLOW_TOKEN_EXCHANGE_DELEGATION on the app client
- Registered resource servers
- Claim validation in APIs
- Constraints
- Cognito user pool issuance only
- Region availability tied to Cognito
- Trusted-agent allow-list must be maintained
- Security
- Audience-bound, scoped, short-lived tokens with no refresh token; agents can still misuse granted scopes if manipulated.
- Proof of value
- Untrusted act.client_id is rejected
- Issued token expires no later than user token
- Logs show user and agent for each call
- Scope reduction verified per hop
Delivery
Role takeaway
- Work
- Implement delegation for one agent workflow, update API validation and logging, and document the trusted-agent registry.
- Dependencies
- Cognito plan tier
- API owner changes
- Logging pipeline updates
- Security review
- Ownership
- Identity team owns trust registry; application owners own API claim checks.
- Skills and adoption
- Developers learn RFC 8693 exchange and act-claim validation; auditors learn to read dual-identity logs.
- Governance checkpoints
- Impersonation versus delegation decision recorded per API
- Trusted-agent list approved
- Log retention meets records policy
- Acceptance criteria
- Zero forwarded user tokens in pilot traffic (proposed)
- 100% of agent calls logged with user and agent identity (proposed)
- Untrusted agents rejected in tests (proposed)
- Risks
- Stale or overly broad trusted-agent list
- APIs that skip act validation
- Over-reliance on token scoping against prompt injection
Implementation considerations
Lighthouse Advisory interpretation across the operating dimensions a public-sector buyer must settle before this evidence becomes a design. Each note answers the question under its heading for this specific source.
Architecture and integration
What must connect, and where does the AI sit in the workflow?
Agents stop forwarding user access tokens; each hop requests an audience-bound token. Resource servers must validate aud and act claims and maintain an allow-list of trusted agent clients. Works through the token endpoint or GetDerivedToken API; requires Essentials or Plus plan.
Governance
Who approves, reviews and stays accountable for outcomes?
Audit logs can show both the authorizing person and the acting agent, supporting accountability rules in state AI policies (interpretation). Agencies must decide which agents are trusted per API.
Security and privacy
What data, permissions and controls need testing?
Narrower, short-lived tokens reduce the blast radius of a compromised agent compared with forwarded tokens; they do not prevent prompt injection from misusing scopes the agent legitimately holds, as the CSO-reported AgentCore findings illustrate.
Accessibility and workforce
Who is affected, and what skills or accommodations follow?
No accessibility content. Developers need OAuth claim-validation skills; identity teams gain a new trust list to maintain.
Procurement
What should contracts, pricing and exit terms secure?
May require upgrading Cognito user pools to the Essentials or Plus plan; pricing implications not stated in the sources (interpretation).
Operating model
Which teams own the service once it runs?
Identity teams, not app teams alone, should own the registry of trusted agent clients and the policy on impersonation versus delegation.
Publication history
- 2026-11-24AWS · Issue 264 resources
Stable resource ID: amazon-cognito-token-exchange-delegation-ai-agents-agentcore-identity-20261124