dexFederated OpenID Connect and OAuth identity provider
HankoPasskey-ready authentication and user management platform
dex vs Hanko
How dex and Hanko compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Amazon Cognito, Clerk and Firebase Authentication.
At a glance
- dex has more GitHub stars (11.3k vs 9.1k).
- Both are actively maintained (last commits 2 days ago and today).
- dex uses Apache-2.0 (permissive); Hanko uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
- dex is the older project (repository started 2015; Hanko in 2022).
Side by side
| dex | Hanko | |
|---|---|---|
| GitHub stars | ★ 11,293 +11 in 7 days | ★ 9,086 +11 in 10 days |
| Forks | 2,052 | 1,059 |
| Last commit | 2 days ago | today |
| Latest version | v2.46.1 | backend/v3.2.0 |
| Repository started | August 2015 | March 2022 |
| License | Apache-2.0 · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | – | Docker |
| Main language | Go | Go |
| Alternative to | Amazon Cognito, Clerk, Firebase Authentication, Microsoft Entra ID, Okta, Ping Identity +1 | Amazon Cognito, Auth0, Clerk, Firebase Authentication, Stytch, WorkOS |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
dex
Dex is an identity service that issues OpenID Connect ID tokens and federates logins to LDAP, SAML, GitHub, Google, and other upstream providers.
Key features
- OpenID Connect and OAuth 2.0 issuer
- Pluggable upstream identity connectors
- Signed JWT ID tokens for clients
- Kubernetes authentication integration
- LDAP, SAML, and social login backends
- YAML-based configuration
Hanko
Hanko provides authentication and user management with passkeys, MFA, OAuth, and SAML SSO. It integrates via web components, a frontend SDK, or a custom UI against its API.
Key features
- Passkeys and WebAuthn
- Email passcodes and passwords
- OAuth and social sign-in
- SAML enterprise SSO
- TOTP and security-key MFA
- Hanko Elements web components