Softwr

Identity and Access Management · head to head

Amazon Cognito vs Hanko

Amazon Cognito logo

Amazon Cognito

Identity and Access Management

AWS customer identity service for sign-in, federation and access tokens, priced per active user

From
Free
Free plan
Yes
Hanko logo

Hanko

Identity and Access Management

Open-source, passkey-first authentication and user management you can self-host or run in the cloud

From
Free
Free plan
Yes

The short version

  • Free plans on both; paid from $0.015/mo and $29/mo.
  • Only Amazon Cognito lists adaptive authentication on Plus; only Hanko lists Hanko Elements web components.
  • Where Amazon Cognito falls short: SMS and email delivery are billed separately through SNS and SES.
  • Where Hanko falls short: organisations, roles and permissions are not yet released.

How do Amazon Cognito and Hanko differ?

Amazon Cognito and Hanko differ on pricing model (Usage-based against Open-source). Only the attributes on which Amazon Cognito and Hanko actually diverge.

Attributes where Amazon Cognito and Hanko differ
AttributeAmazon CognitoHanko
Pricing modelUsage-basedOpen-source

Identical on both: starting price (Free), free tier (Yes), platforms (Web).

Not yet recorded: category for Hanko.

Which features does each one have?

They share no listed features; 9 appear only for Amazon Cognito and 8 only for Hanko. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon Cognito

  • User pools with sign-up and sign-in
  • Social, SAML and OIDC federation
  • Passkeys and one-time passwords
  • OAuth 2.0 machine-to-machine tokens
  • Managed Login with UI editor
  • Adaptive authentication on Plus
  • Compromised credential detection
  • Multi-Region replication

Only in Hanko

  • Passkeys, passwords and passcodes
  • Social and OAuth login
  • MFA with TOTP and security keys
  • SAML enterprise SSO
  • Hanko Elements web components
  • Webhooks and admin API
  • Server-side sessions and revocation
  • Self-hosting or managed cloud

What is each one used for?

Amazon Cognito is most often brought in for customer sign-in for AWS-hosted apps; Hanko for passkey-first login for consumer apps. The jobs each tool is most often brought in to do.

Amazon Cognito

  • Customer sign-in for AWS-hosted appsnot Hanko
  • Federating enterprise SAML and OIDC identity providersnot Hanko
  • Machine-to-machine tokens for microservicesnot Hanko
  • Passwordless login with passkeysnot Hanko
  • Authenticating AI agents on AWSnot Hanko

Hanko

  • Passkey-first login for consumer appsnot Amazon Cognito
  • Self-hosted auth for privacy-sensitive productsnot Amazon Cognito
  • Replacing a Firebase or Cognito loginnot Amazon Cognito
  • Adding MFA to a web appnot Amazon Cognito
  • EU-hosted authenticationnot Amazon Cognito

Where do Amazon Cognito and Hanko fall short?

Amazon Cognito's most cited limit: SMS and email delivery are billed separately through SNS and SES. Hanko's: organisations, roles and permissions are not yet released. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon Cognito

  • SMS and email delivery are billed separately through SNS and SES
  • Plus tier has no free tier, and advanced security needs it or an add-on
  • Federated SAML and OIDC users have only 50 free MAUs
  • Best suited to teams already building on AWS

Hanko

  • Organisations, roles and permissions are not yet released
  • Native iOS, Android and Flutter SDKs are still on the roadmap
  • AGPL-3.0 licence may need a commercial licence for some products
  • SAML SSO costs $49 a month per connection on top of Pro

How much do Amazon Cognito and Hanko cost?

Amazon Cognito has a free plan, with paid plans from $0.015/mo; Hanko has a free plan, with paid plans from $29/mo. Plan by plan below, from each vendor's own pricing page.

Amazon Cognito

Free
  • Essentials$0.015
    • Managed Login
    • Passwordless sign-in
    • 10,000 free MAUs
  • Plus$0.02
    • Threat protection
    • Adaptive authentication
    • No free tier

Hanko

Free
  • StarterFree
    • 10,000 monthly active users
    • 2 projects
    • Passkeys, passwords, MFA, social login
  • Pro$29/mo
    • $0.01 per monthly active user above 10,000
    • 5 projects
    • Webhooks and admin API

Which should you pick?

Choose Amazon Cognito if

  • You need user pools with sign-up and sign-in.
  • You want to start without paying.
  • You also want social, saml and oidc federation.

Choose Hanko if

  • You need passkeys, passwords and passcodes.
  • You want to start without paying.
  • You also want social and oauth login.

Questions people ask

Is Amazon Cognito or Hanko better?
It depends on the job. Amazon Cognito fits customer sign-in for AWS-hosted apps; Hanko fits passkey-first login for consumer apps. Amazon Cognito starts at Free and Hanko at Free.
Which is cheaper, Amazon Cognito or Hanko?
Amazon Cognito starts at Free and Hanko at Free.
Does Amazon Cognito or Hanko run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Amazon Cognito for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amazon Cognito best used for?
Amazon Cognito is most often used for customer sign-in for aws-hosted apps, federating enterprise saml and oidc identity providers, machine-to-machine tokens for microservices, passwordless login with passkeys. Of those, customer sign-in for aws-hosted apps and federating enterprise saml and oidc identity providers are not what Hanko is typically brought in for.
What can Amazon Cognito do that Hanko cannot?
Amazon Cognito covers User pools with sign-up and sign-in, Social, SAML and OIDC federation, Passkeys and one-time passwords, OAuth 2.0 machine-to-machine tokens. Hanko covers Passkeys, passwords and passcodes, Social and OAuth login, MFA with TOTP and security keys, SAML enterprise SSO.

Answered from the vendors’ own pages

Amazon Cognito: How much does Amazon Cognito cost?

Essentials is $0.015 per monthly active user and Plus is $0.020, after the free tier. Lite uses tiered pricing starting around $0.0055.

Source
Hanko: Is Hanko open source?

Yes. Hanko is open-source under the AGPL-3.0 licence and can be self-hosted, or used as the managed Hanko Cloud.

Source
Amazon Cognito: Is there a free tier?

Lite and Essentials include 10,000 free MAUs per account or AWS organisation. Plus has no free tier.

Source
Hanko: How much does Hanko Cloud cost?

Starter is free with 10,000 monthly active users. Pro is $29 a month plus $0.01 per user above 10,000.

Source
Amazon Cognito: What sign-in methods are supported?

Passwords, social login, SAML and OIDC federation, and passwordless sign-in with passkeys or SMS and email one-time passwords.

Source
Hanko: Does Hanko support SAML SSO?

Yes. SAML SSO is available on Pro at $49 a month per connection.

Source
Amazon Cognito: Are SMS messages included?

No. SMS and email messages for verification and MFA are billed separately through Amazon SNS and Amazon SES.

Source
Hanko: What counts as a monthly active user?

A user who is issued a session token at least once in a month, or whose session token is validated through Hanko, counts once for that month.

Source
Share

Related pages

Other head to heads