Keycloak
keycloak/keycloakOpen Source Identity and Access Management For Modern Applications and Services
Keycloak vs AWS Cognito
HankoOpen source
AWS CognitoProprietaryHanko is a free, self-hostable alternative to AWS Cognito. Here's how running it yourself compares with paying for the managed product.
Switching from AWS Cognito
If you've moved from AWS Cognito to Hanko, tell us how it went below.
| Feature | Hanko | AWS Cognito |
|---|---|---|
| Source code | Open source (AGPL-3.0) | Proprietary |
| Hosting | Self-hosted | Managed by the vendor |
| Cost | Free software; you pay for your own servers | See aws.amazon.com pricing |
| Your data lives | On your infrastructure | On the vendor's servers |
| Bring your AWS Cognito data | Not checked yet | — |
| Lock-in | Low: fork it or move hosts any time | Tied to the vendor |
| Setup & maintenance | You install, update and back it up | Handled for you |
| Community | 9,082 stars · 1,059 forks | — |
| Last code change | Active | — |
| Written in | — |
Hanko is an open-source modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch. It covers the same ground as AWS Cognito while letting you host it yourself and keep full control of your data. It has 9,082 stars on GitHub.
Yes. Hanko is open source under the AGPL-3.0 license, so the software is free to use. Running it yourself costs whatever your server or cloud provider charges.
Yes. Hanko can be installed on your own server; see its repository for instructions.
Open Source Identity and Access Management For Modern Applications and Services
Keycloak vs AWS CognitoThe most comprehensive authentication framework
Better Auth vs AWS CognitoThe authentication glue you need.
Authentik vs AWS CognitoZITADEL - Identity infrastructure, simplified for you.
Zitadel vs AWS CognitoOpen source alternative to Auth0 / Firebase Auth / AWS Cognito
SuperTokens vs AWS CognitoAuthentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.
Logto vs AWS Cognito