dexFederated OpenID Connect and OAuth identity provider
KeycloakIdentity and access management for applications and services
dex vs Keycloak
How dex and Keycloak 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
- Keycloak has more GitHub stars (38.2k vs 11.3k, about 3× as many).
- Both are actively maintained (last commits 2 days ago and today).
- Both use the Apache-2.0 license.
- Both can be self-hosted.
- Keycloak is the older project (repository started 2013; dex in 2015).
Side by side
| dex | Keycloak | |
|---|---|---|
| GitHub stars | ★ 11,293 +11 in 7 days | ★ 38,216 +184 in 10 days |
| Forks | 2,052 | 9,292 |
| Last commit | 2 days ago | today |
| Latest version | v2.46.1 | 26.8.2 |
| Repository started | August 2015 | July 2013 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | – | Docker |
| Main language | Go | Java |
| Alternative to | Amazon Cognito, Clerk, Firebase Authentication, Microsoft Entra ID, Okta, Ping Identity +1 | Amazon Cognito, Auth0, Clerk, Firebase Authentication, Microsoft Entra ID, Okta +3 |
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
Keycloak
Keycloak adds authentication and single sign-on to applications so they do not store or verify users themselves. It supports standard protocols and central admin tools.
Key features
- Single sign-on across applications
- OpenID Connect, OAuth 2.0, and SAML
- Social login and identity brokering
- LDAP and Active Directory federation
- Admin and account management consoles
- Fine-grained authorization services