10 top picks · 3 audience rankings
Best open source SSO and identity providers
The best open source SSO and identity provider is Keycloak (Apache-2.0, 37,563 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,375).
This page also breaks the picks down by team size and use: Keycloak leads for startups and enterprise; authentik for small business.
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 28, 2026
Identity & SSOJavaDockerStands out for the most GitHub stars. Keycloak has 37,563 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 3,232 commits in the last year; it replaces Auth0 and Okta.
- 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 28, 2026
Identity & SSOGoDockerStands out for a permissive Apache-2.0 license. Authelia has 29,430 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 2,564 commits in the last year; it replaces Auth0 and Okta.
- Rank 3:
authentik
goauthentik/authentik
Flexible identity provider and SSO platform with OAuth2, SAML, LDAP and proxy outposts.
Active · last commit Oct 28, 2026
Identity & SSOPythonDockerStands out for the most commits in the last 12 months (5,375). authentik has 26,151 GitHub stars, uses the MIT license, ships a Docker image and had 5,375 commits in the last year; it replaces Auth0 and Okta.
At a glance
Open source SSO and identity providers compared
Ranked on GitHub stars, commits in the last year, Docker images, open-source licenses and recent commits across the 12 apps in the identity & SSO category. Projects with fewer than 12 commits in the last 12 months rank below every more active project.
| App | Stands out for | License | GitHub stars | Commits (12 mo) | Last commit | Docker image |
|---|---|---|---|---|---|---|
| Keycloak | the most GitHub stars | Apache-2.0 | 37,563 | 3,232 | Oct 28, 2026 | Yes |
| Authelia | a permissive Apache-2.0 license | Apache-2.0 | 29,430 | 2,564 | Oct 28, 2026 | Yes |
| authentik | the most commits in the last 12 months (5,375) | MIT | 26,151 | 5,375 | Oct 28, 2026 | Yes |
| Logto | its TypeScript codebase | MPL-2.0 | 14,806 | 1,429 | Oct 28, 2026 | Yes |
| Casdoor | the most recent release (v4.24.0, October 2026) | Apache-2.0 | 14,689 | 1,237 | Oct 27, 2026 | Yes |
| SuperTokens | – | Apache-2.0 | 15,335 | 874 | Oct 28, 2026 | Yes |
| ZITADEL | – | AGPL-3.0 | 15,457 | 608 | Oct 28, 2026 | Yes |
| Dex | – | Apache-2.0 | 11,219 | 623 | Oct 27, 2026 | Yes |
| Pocket ID | – | BSD-2-Clause | 9,781 | 645 | Oct 26, 2026 | Yes |
| Ory Kratos | – | Apache-2.0 | 13,944 | 388 | Jul 29, 2026 | Yes |
1 of 4 · 10 picks
Top picks
10 of the 12 apps in the identity & SSO category.
- 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,563 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 3,232 commits in the last year; it replaces Auth0 and Okta.
- 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,430 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 2,564 commits in the last year; it replaces Auth0 and Okta.
- 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,375). authentik has 26,151 GitHub stars, uses the MIT license, ships a Docker image and had 5,375 commits in the last year; it replaces Auth0 and Okta.
- 4
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,806 GitHub stars, uses the MPL-2.0 license, ships a Docker image and had 1,429 commits in the last year; it replaces Auth0.
- 5
Casdoor
UI-first identity and access management platform supporting OAuth, OIDC, SAML and LDAP.
Identity & SSODockerStands out for the most recent release (v4.24.0, October 2026). Casdoor has 14,689 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 1,237 commits in the last year.
- 6
SuperTokens
Open-source authentication with login, sessions and social sign-in for your own app.
Identity & SSODockerSuperTokens has 15,335 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 874 commits in the last year.
- 7
ZITADEL
Identity infrastructure with SSO, passkeys, multi-tenancy and audit trails, built in Go.
Identity & SSODockerZITADEL has 15,457 GitHub stars, uses the AGPL-3.0 license, ships a Docker image and had 608 commits in the last year; it replaces Auth0 and Okta.
- 8
Dex
Federated OpenID Connect provider that connects to LDAP, SAML and OAuth upstream identities.
Identity & SSODockerDex has 11,219 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 623 commits in the last year.
- 9
Pocket ID
Simple OIDC provider that signs you in to self-hosted services with passkeys.
Identity & SSODockerPocket ID has 9,781 GitHub stars, uses the BSD-2-Clause license, ships a Docker image and had 645 commits in the last year.
- 10
Ory Kratos
Headless identity and user management API with login, registration and account recovery.
Identity & SSODockerOry Kratos has 13,944 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 388 commits in the last year; it replaces Auth0.
2 of 4 · 5 picks
Which open source SSO and identity provider is best for startups?
For startups, Keycloak ranks first (Apache-2.0, 37,563 GitHub stars), followed by Authelia and authentik. Ranked for startups on GitHub stars, commits in the last year, Docker images, open-source licenses, project websites and recent commits.
- 1
Keycloak
Open-source identity and access management with SSO, OIDC, SAML and user federation.
Identity & SSODockerKeycloak has 37,563 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 3,232 commits in the last year; it replaces Auth0 and Okta. For startups it also scores on a Docker image, a permissive license (Apache-2.0), a project website and a commit in the last 90 days.
- 2
Authelia
Single sign-on and two-factor authentication portal for protecting web apps behind a reverse proxy.
Identity & SSODockerAuthelia has 29,430 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 2,564 commits in the last year; it replaces Auth0 and Okta. For startups it also scores on a Docker image, a permissive license (Apache-2.0), a project website and a commit in the last 90 days.
- 3
authentik
Flexible identity provider and SSO platform with OAuth2, SAML, LDAP and proxy outposts.
Identity & SSODockerauthentik has 26,151 GitHub stars, uses the MIT license, ships a Docker image and had 5,375 commits in the last year; it replaces Auth0 and Okta. For startups it also scores on a Docker image, a permissive license (MIT), a project website and a commit in the last 90 days.
- 4
Casdoor
UI-first identity and access management platform supporting OAuth, OIDC, SAML and LDAP.
Identity & SSODockerCasdoor has 14,689 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 1,237 commits in the last year. For startups it also scores on a Docker image, a permissive license (Apache-2.0), a project website and a commit in the last 90 days.
- 5
SuperTokens
Open-source authentication with login, sessions and social sign-in for your own app.
Identity & SSODockerSuperTokens has 15,335 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 874 commits in the last year. For startups it also scores on a Docker image, a permissive license (Apache-2.0), a project website and a commit in the last 90 days.
3 of 4 · 5 picks
Which open source SSO and identity provider is best for small business?
For small business, authentik ranks first (MIT, 26,151 GitHub stars), followed by Keycloak and Authelia. Ranked for small business on GitHub stars, commits in the last year, Docker images, open-source licenses, project websites, recent commits and deploy guides.
- 1
authentik
Flexible identity provider and SSO platform with OAuth2, SAML, LDAP and proxy outposts.
Identity & SSODockerauthentik has 26,151 GitHub stars, uses the MIT license, ships a Docker image and had 5,375 commits in the last year; it replaces Auth0 and Okta, and appsgit has a step-by-step deploy guide for it. For small business it also scores on a Docker image, an open-source license, a project website, a commit in the last 90 days and an appsgit deploy guide.
- 2
Keycloak
Open-source identity and access management with SSO, OIDC, SAML and user federation.
Identity & SSODockerKeycloak has 37,563 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 3,232 commits in the last year; it replaces Auth0 and Okta. For small business it also scores on a Docker image, an open-source license, a project website and a commit in the last 90 days.
- 3
Authelia
Single sign-on and two-factor authentication portal for protecting web apps behind a reverse proxy.
Identity & SSODockerAuthelia has 29,430 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 2,564 commits in the last year; it replaces Auth0 and Okta. For small business it also scores on a Docker image, an open-source license, a project website and a commit in the last 90 days.
- 4
Logto
Modern auth infrastructure with OIDC, SSO and multi-tenant support for SaaS and apps.
Identity & SSODockerLogto has 14,806 GitHub stars, uses the MPL-2.0 license, ships a Docker image and had 1,429 commits in the last year; it replaces Auth0. For small business it also scores on a Docker image, an open-source license, a project website and a commit in the last 90 days.
- 5
Casdoor
UI-first identity and access management platform supporting OAuth, OIDC, SAML and LDAP.
Identity & SSODockerCasdoor has 14,689 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 1,237 commits in the last year. For small business it also scores on a Docker image, an open-source license, a project website and a commit in the last 90 days.
4 of 4 · 5 picks
Which open source SSO and identity provider is best for enterprise?
For enterprise, Keycloak ranks first (Apache-2.0, 37,563 GitHub stars), followed by Authelia and authentik. Ranked for enterprise on GitHub stars, commits in the last year, open-source licenses and recent commits.
- 1
Keycloak
Open-source identity and access management with SSO, OIDC, SAML and user federation.
Identity & SSODockerKeycloak has 37,563 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 3,232 commits in the last year; it replaces Auth0 and Okta. For enterprise it also scores on an open-source license and a commit in the last 90 days.
- 2
Authelia
Single sign-on and two-factor authentication portal for protecting web apps behind a reverse proxy.
Identity & SSODockerAuthelia has 29,430 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 2,564 commits in the last year; it replaces Auth0 and Okta. For enterprise it also scores on an open-source license and a commit in the last 90 days.
- 3
authentik
Flexible identity provider and SSO platform with OAuth2, SAML, LDAP and proxy outposts.
Identity & SSODockerauthentik has 26,151 GitHub stars, uses the MIT license, ships a Docker image and had 5,375 commits in the last year; it replaces Auth0 and Okta. For enterprise it also scores on an open-source license and a commit in the last 90 days.
- 4
Logto
Modern auth infrastructure with OIDC, SSO and multi-tenant support for SaaS and apps.
Identity & SSODockerLogto has 14,806 GitHub stars, uses the MPL-2.0 license, ships a Docker image and had 1,429 commits in the last year; it replaces Auth0. For enterprise it also scores on an open-source license and a commit in the last 90 days.
- 5
SuperTokens
Open-source authentication with login, sessions and social sign-in for your own app.
Identity & SSODockerSuperTokens has 15,335 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 874 commits in the last year. For enterprise it also scores on an open-source license and a commit in the last 90 days.
Is Keycloak free?
Yes. Keycloak is open-source software released under the Apache-2.0 license, so you can self-host it at no cost. You only pay for the server it runs on, and some projects also offer an optional paid cloud plan.
Can I self-host these SSO and identity providers with Docker?
Yes, all of them. Keycloak, Authelia and authentik publish Docker images, so you can run them on a VPS or home server with Docker Compose.
Are all of these SSO and identity providers open source?
All 10 apps on this list are open source. You can self-host and modify each one under its license.
Which of these SSO and identity providers is the most actively developed?
authentik, with 5,375 commits in the last 12 months and a latest release, version/2026.8.5, from October 2026. Activity is a good sign that bugs and security issues get fixed.
How is this list ranked?
Ranked on GitHub stars, commits in the last year, Docker images, open-source licenses and recent commits across the 12 apps in the identity & SSO category. Projects with fewer than 12 commits in the last 12 months rank below every more active project.
The weekly digest
New self-hosted apps, every week
Fresh releases, rising projects and one deploy guide a week. Join home labbers and engineers who self-host.