Amazon Cognito adds native OAuth 2.0 token exchange for AI agents
In short: Amazon Cognito has introduced native support for OAuth 2.0 Token Exchange (RFC 8693), allowing services and AI agents to act on behalf of users without requiring them to handle or forward sensitive user credentials directly. This update enables delegation patterns where downstream APIs can verify both the end-user identity and the specific service (e.g., an MCP server) authorized to perform the action.
This summary was generated automatically by AI from AWS Security's publication. It is our own text, not a copy of the original — facts, figures and quotes belong to the source, linked above and below.
What changed?
- 1Added support for OAuth 2.0 Token Exchange (RFC 8693) for delegation and impersonation patterns.
- 2New authentication flow settings ALLOW_TOKEN_EXCHANGE_DELEGATION and ALLOW_TOKEN_EXCHANGE_IMPERSONATION in Cognito app clients.
- 3Support for an 'act' (actor) claim in issued tokens to provide audit trails for agentic workflows.
- 4Ability to use GetDerivedToken API via AWS SDK or standard /oauth2/token endpoint.
Why it matters
This security improvement solves the 'second hop' problem in agentic workflows. By using token exchange, you can ensure that your AI agents access only the necessary scopes while the resource servers maintain visibility into which agent performed the action, which is critical for compliance and security auditing in complex service architectures.
What it means for AI agents and contact centers
When building AI-powered contact centers or internal automation tools, use this to replace insecure token forwarding. Compare this approach against existing custom middleware solutions for auditing agent actions. Ensure your internal services are configured to validate the 'act' claim in the JWT to prevent unauthorized agents from abusing delegated access.
🧪 Worth Testing
It simplifies the architecture for secure agent-to-API communication and provides a standard method for enforcing least-privilege access across distributed agent systems.
Sources
- AWS SecurityOfficialPrimary sourceOriginal article →„Delegate user access to AI agents with Amazon Cognito token exchange“24 Nov 2026, 22:01
- Published by source
- 24 Nov 2026, 22:01
- Found by our system
- 24 Nov 2026, 22:05
- Summary generated
- 24 Nov 2026, 22:05
This article was written by AI from the original source. Facts, numbers and prices come from the source; missing values are marked “Not specified”. Legal notice, copyright and privacy