6 self-hosted options
Open-source alternatives to Auth0
The best open-source alternative to Auth0 is Keycloak (Apache-2.0, 37,517 GitHub stars, Docker image). Authelia stands out for a permissive Apache-2.0 license, and authentik stands out for the most commits in the last 12 months (5,305).
About Auth0: An identity platform offering login, single sign-on and user management as a service.
Updated · data from GitHub, refreshed daily
Top picks
- Rank 1:
Keycloak
keycloak/keycloak
Open-source identity and access management with SSO, OIDC, SAML and user federation.
Active · last commit Oct 26, 2026
Identity & SSOJavaDockerStands out for the most GitHub stars.
- Rank 2:
Authelia
authelia/authelia
Single sign-on and two-factor authentication portal for protecting web apps behind a reverse proxy.
Active · last commit Oct 25, 2026
Identity & SSOGoDockerStands out for a permissive Apache-2.0 license.
- Rank 3:
authentik
goauthentik/authentik
Flexible identity provider and SSO platform with OAuth2, SAML, LDAP and proxy outposts.
Active · last commit Oct 26, 2026
Identity & SSOPythonDockerStands out for the most commits in the last 12 months (5,305).
At a glance
Auth0 alternatives compared
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.
| App | Stands out for | License | GitHub stars | Commits (12 mo) | Last commit | Docker image |
|---|---|---|---|---|---|---|
| Keycloak | the most GitHub stars | Apache-2.0 | 37,517 | 3,217 | Oct 26, 2026 | Yes |
| Authelia | a permissive Apache-2.0 license | Apache-2.0 | 29,412 | 2,537 | Oct 25, 2026 | Yes |
| authentik | the most commits in the last 12 months (5,305) | MIT | 26,101 | 5,305 | Oct 26, 2026 | Yes |
| ZITADEL | the most recent release (v4.20.0, October 2026) | AGPL-3.0 | 15,437 | 611 | Oct 23, 2026 | Yes |
| Logto | its TypeScript codebase | MPL-2.0 | 14,793 | 1,395 | Oct 26, 2026 | Yes |
| Ory Kratos | – | Apache-2.0 | 13,937 | 389 | Jul 29, 2026 | Yes |
Full list
All 6 Auth0 alternatives
Open any app for live stats, license details and a deploy option.
- 1
Keycloak
Open-source identity and access management with SSO, OIDC, SAML and user federation.
Identity & SSODockerStands out for the most GitHub stars. Keycloak has 37,517 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 3,217 commits in the last year.
- 2
Authelia
Single sign-on and two-factor authentication portal for protecting web apps behind a reverse proxy.
Identity & SSODockerStands out for a permissive Apache-2.0 license. Authelia has 29,412 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 2,537 commits in the last year.
- 3
authentik
Flexible identity provider and SSO platform with OAuth2, SAML, LDAP and proxy outposts.
Identity & SSODockerStands out for the most commits in the last 12 months (5,305). authentik has 26,101 GitHub stars, uses the MIT license, ships a Docker image and had 5,305 commits in the last year.
- 4
ZITADEL
Identity infrastructure with SSO, passkeys, multi-tenancy and audit trails, built in Go.
Identity & SSODockerStands out for the most recent release (v4.20.0, October 2026). ZITADEL has 15,437 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 611 commits in the last year.
- 5
Logto
Modern auth infrastructure with OIDC, SSO and multi-tenant support for SaaS and apps.
Identity & SSODockerStands out for its TypeScript codebase. Logto has 14,793 GitHub stars, uses the MPL-2.0 license, ships a Docker image and had 1,395 commits in the last year.
- 6
Ory Kratos
Headless identity and user management API with login, registration and account recovery.
Identity & SSODockerOry Kratos has 13,937 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 389 commits in the last year.
Is there a free alternative to Auth0?
Yes. All 6 apps on this page are open source and free to self-host, so you can replace Auth0 without per-user fees. You pay only for the server.
Can I self-host an alternative to Auth0 with Docker?
Yes. All 6 apps here publish a Docker image, including Keycloak, Authelia and authentik, so you can run them on a home server or VPS with Docker Compose.
Which Auth0 alternative is the most actively developed?
authentik (MIT), with 5,305 commits in the last 12 months. Activity is a good sign that bugs and security issues get fixed.
How is this list ranked?
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.