Updated

Amazon Cognito vs Keycloak

Keycloak scores 9.0/10 against 8.1/10 for Amazon Cognito. Amazon Cognito starts at $0.01/mo, Keycloak has a free plan.

Amazon Cognito

Score

Price

From $0.01/mo

Keycloak

Score

Price

Free

Higher score

Side by side

FeatureAmazon CognitoKeycloak
Score 8.1/10 9.0/10
Starting price From $0.01/mo Free
Free plan Yes Yes
Pricing model Freemium Free
Plans 3 -
Rank in Best Authentication Software 8 of 30 1 of 30
Best for Low-cost application authentication on AWS Self-hosted open-source SSO and federation
Platforms Web, iOS, Android Web, Windows, Linux
Deployment Cloud, Mobile Cloud, Desktop, Self-hosted
SSO protocols SAML 2.0, OpenID Connect (OIDC), OAuth 2.0 OpenID Connect, OAuth 2.0, SAML 2.0
MFA methods Email, SMS, TOTP authenticator apps, WebAuthn passkeys with user verification TOTP, HOTP, WebAuthn/passkeys, recovery codes
Integrations 13 integrations: AWS Lambda, Amazon API Gateway, AWS IAM, Amazon S3, Amazon DynamoDB, Amazon CloudWatch … 10 integrations: LDAP, Active Directory, Docker, Podman, Kubernetes, OpenShift …
Website aws.amazon.com keycloak.org
Amazon Cognito vs Keycloak compared

Overview

Amazon Cognito

Managed identity services for web and mobile applications.

Amazon Cognito is a managed identity and access service for web, iOS, Android, and API applications. It provides user directories, authentication, authorization, identity federation, and temporary AWS credentials.

  • Best for Low-cost application authentication on AWS
  • Freemium, free plan

Keycloak

Add authentication to applications and secure services.

Keycloak is an open-source identity and access management server for web applications, REST services, and other applications. It is designed for organizations that want to manage authentication and access controls themselves across web, Windows, Linux, API, and self-hosted environments.

  • Best for Self-hosted open-source SSO and federation
  • Free, free plan

Pricing

Amazon Cognito

  • Lite

    • $0.0055/mo per user
    • 10,000 monthly active users free per month for eligible accounts
    • User registration, authentication, and management
    • Social, SAML, and OIDC provider integration
    • Username-and-password sign-in
    • Authenticator-app and SMS MFA
  • Essentials

    • $0.01/mo per user
    • All Lite capabilities
    • Managed Login
    • Passwordless login with passkeys, email, or SMS
    • Email MFA
    • Access-token customization
  • Plus

    • $0.02/mo per user
    • All Essentials capabilities
    • Threat protection
    • Risk-based adaptive authentication
    • Compromised-credentials detection
    • Threat-profile and user-activity logging

Prices checked 19 Sep 2026

Keycloak

Free

Prices checked 19 Sep 2026

Pros and cons

Amazon Cognito

Pros

  • Free plan with 10,000 MAUs for eligible Lite and Essentials accounts
  • OAuth, OIDC, SAML, social login, MFA, and passwordless access
  • Identity pools issue temporary credentials for AWS resource access

Cons

  • Usage-based pricing can vary with monthly active users
  • Plus has no free tier and adds cost for threat protection
  • Developer-oriented customer IAM rather than a workforce directory

Keycloak

Pros

  • Supports OpenID Connect, OAuth 2.0, and SAML 2.0
  • Combines LDAP, Active Directory, MFA, passkeys, and social login
  • Provides fine-grained authorization and SCIM user and group management APIs

Cons

  • Deployment and ongoing administration are managed by the organization
  • SCIM support is a preview feature and disabled by default
  • Requires self-hosted infrastructure such as virtual machines or containers

Quick facts

Amazon Cognito

Starting price
From $0.01/mo
Pricing model
Freemium
Free plan
Yes
Deployment
Cloud, Mobile
Platforms
Web, iOS, Android

Keycloak

Starting price
Free
Pricing model
Free
Free plan
Yes
Deployment
Cloud, Desktop, Self-hosted
Platforms
Web, Windows, Linux

Specs

Amazon Cognito

SSO protocols
SAML 2.0, OpenID Connect (OIDC), OAuth 2.0
MFA methods
Email, SMS, TOTP authenticator apps, WebAuthn passkeys with user verification
Adaptive access policies
Yes
Included users
10000 users
Integrations
13 integrations: AWS Lambda, Amazon API Gateway, AWS IAM, Amazon S3, Amazon DynamoDB, Amazon CloudWatch …

Keycloak

SSO protocols
OpenID Connect, OAuth 2.0, SAML 2.0
MFA methods
TOTP, HOTP, WebAuthn/passkeys, recovery codes
Directory sync
Yes
Lifecycle provisioning
Yes
Integrations
10 integrations: LDAP, Active Directory, Docker, Podman, Kubernetes, OpenShift …

Questions

Amazon Cognito

Does Amazon Cognito have a free plan?

No free plan is listed; paid plans start at $0.0055/user/mo (Lite).

How much does Amazon Cognito cost?

Amazon Cognito lists 3 paid plans; the lowest is Lite at $0.0055/user/mo.

What does Amazon Cognito run on?

Web, iOS and Android. It runs in the cloud and as a mobile app.

What does Amazon Cognito integrate with?

13 integrations, including AWS Lambda, Amazon API Gateway, AWS IAM, Amazon S3 and Amazon DynamoDB.