Open-source alternatives to Auth0

Auth0 in the IT, security & identity category. These are the open alternatives we recommend looking at.

Ory Hydra

OAuth 2 and OpenID Connect server that connects to your own user management through APIs.

Apache-2.0Permissive

SaaS: YesClosed product: Yes

GitHub stars
17.6k
Deployment
Docker
Login/SSO
OIDC

SuperTokens

Sign-in and user management for apps, an alternative to Auth0 and Firebase Auth.

Apache-2.0PermissiveOpen core

SaaS: YesClosed product: Yes

GitHub stars
15.3k
Deployment
Docker
Login/SSO
OIDC

Logto

Authentication and authorisation infrastructure for SaaS and AI apps, with SSO and multi-tenancy.

MPL-2.0Weak copyleft

SaaS: YesClosed product: Yes, with conditions

GitHub stars
14.7k
Deployment
Docker
Login/SSO
OIDC, SAML

Ory Kratos

Headless user management and login with passkeys, social sign-in and two-factor.

Apache-2.0Permissive

SaaS: YesClosed product: Yes

GitHub stars
13.9k
Deployment
Docker
Login/SSO
OIDC

Pocket ID

Simple OpenID Connect provider where users sign in to your apps with passkeys.

BSD-2-ClausePermissive

SaaS: YesClosed product: Yes

GitHub stars
9.4k
Deployment
Docker
Login/SSO
OIDC

Authgear

Authentication platform with passkeys, SSO and two-factor for SaaS and mobile apps.

Apache-2.0Permissive

SaaS: YesClosed product: Yes

GitHub stars
2.1k
Deployment
Docker
Login/SSO
OIDC, SAML

Keycloak

Identity and access management with SSO over OIDC and SAML.

Apache-2.0Permissive

SaaS: YesClosed product: Yes

GitHub stars
37.1k
Deployment
Docker, Helm, Operator
Login/SSO
OIDC, SAML, LDAP (it is the IdP)

authentik

Flexible identity provider with login and enrollment flows.

MITPermissiveOpen core

SaaS: YesClosed product: Yes

GitHub stars
25.8k
Deployment
Docker, Helm
Login/SSO
OIDC, SAML, LDAP (it is the IdP)

Zitadel

Identity platform with built-in multi-organisation support. Swiss vendor.

AGPL-3.0Network copyleft (AGPL)

SaaS: Yes, with conditionsClosed product: No

GitHub stars
15.2k
Deployment
Docker, Helm
Login/SSO
OIDC, SAML (it is the IdP)

Casdoor

Identity and access management with a web UI and support for OAuth, OIDC, SAML and LDAP.

Apache-2.0Permissive

SaaS: YesClosed product: Yes

GitHub stars
14.5k
Deployment
Docker
Login/SSO
OIDC, SAML, LDAP

This is guidance, not legal advice (inte juridisk rådgivning). Check with a lawyer before deciding.

Sign in for more

  • Full licence analysis per use case (self-hosting, modifying, hosted service, AI use)
  • Save products to your own lists
  • Systemkarta: map the tools you already use (coming soon)
  • Personal help and AI advice (coming soon)
Sign in for free