Amazon Cognito now supports machine-to-machine authorization without a user pool domain
Amazon Cognito adds the GetClientToken API, allowing machine-to-machine authorization without a user pool domain. This API integrates with AWS SDKs and supports AWS WAF and VPC endpoints.
Amazon Cognito now includes the GetClientToken API operation, enabling app clients to obtain access tokens for machine-to-machine authorization directly through AWS SDKs, CLI, or APIs-without configuring a user pool domain. This provides an additional method to authorize service-to-service communication for applications, microservices, and automated workloads. The GetClientToken API allows app clients to authenticate with their client ID and secret to receive access tokens authorized for custom scopes on resource servers. As a native AWS API, it integrates seamlessly with AWS SDKs and supports AWS WAF and VPC interface endpoints. The existing domain-based OAuth 2.0 client-credentials flow remains available. This feature is available in all AWS Regions where Amazon Cognito user pools are offered, with standard Amazon Cognito M2M pricing applying.
Why it matters
This update benefits developers needing automated service-to-service communication and those wanting to avoid complex user pool configurations.