Open-sourcealternatives to Auth0
- About
- The open-source alternatives to Auth0 in the Prosper collection are Keycloak, Better Auth, authentik, ZITADEL, SuperTokens, Logto, Ory Kratos, Pocket ID, Hanko, Hexclave and Authgear.
- Alternatives
- 11
- Most stars
- Keycloak ★ 38.2k
- GitHub stats
- Updated daily
- Page updated
What’s the best open-source alternative to Auth0?
It depends on what you use Auth0 for.
- Keycloak for enterprise single sign-on across many apps.
- Better Auth for adding login to a TypeScript app.
- authentik for single sign-on for a home lab or company apps.
- ZITADEL for identity and single sign-on for SaaS and companies.
- SuperTokens for self-hosted login, like Auth0.
- Logto for login and identity for SaaS apps.
- Ory Kratos for API-first identity for developers.
- Pocket ID for passkey sign-in for a home server.
- Hanko for passkey login and user management.
- Hexclave for auth, teams and payments for a SaaS in one package.
- Authgear for sign-in with passkeys and SSO for consumer apps.
Which of these have license conditions?
1 of the 11 have conditions worth knowing before you build on them:
- Hexclave: Hexclave is licensed per package: client code and examples are MIT, and the server components are AGPL-3.0.
Choosing an alternative to Auth0
Auth0 gets login working fast, and open-source alternatives let you host authentication yourself and keep user data in your own database. Keycloak and ZITADEL are full identity platforms for companies that need single sign-on across many apps. Better Auth and SuperTokens suit developers who want login built into their own app, and Pocket ID is the simplest way to sign in with passkeys on a home server.
Compared
Ranked by GitHub stars- No. 141
KeycloakOpen-source identity and access managementBest for enterprise single sign-on across many appsOkta★ 38.2k - No. 154
Better AuthOpen-source authentication framework for TypeScriptBest for adding login to a TypeScript appClerk★ 31k - No. 173
authentikOpen-source identity provider for single sign-onBest for single sign-on for a home lab or company appsOkta★ 26.6k - No. 183
ZITADELOpen-source identity and access management platformBest for identity and single sign-on for SaaS and companiesOkta★ 15.7k - No. 342
SuperTokensAuthentication and session management you can self-hostBest for self-hosted login, like Auth0Clerk★ 15.3k - No. 134
LogtoOpen-source authentication and identity for SaaS and AI appsBest for login and identity for SaaS appsClerk★ 15k - No. 354
Ory KratosAPI-first identity and user management for cloud-native appsBest for API-first identity for developersOkta★ 14k - No. 397
Pocket IDSimple OIDC provider that signs users in with passkeysBest for passkey sign-in for a home serverOkta★ 10.6k - No. 411
HankoAuthentication and user management with passkeysBest for passkey login and user managementClerk, Stytch★ 9.1k - No. 439
HexclaveUser infrastructure: auth, teams, payments, email and analyticsBest for auth, teams and payments for a SaaS in one packageClerk, WorkOS★ 6.9k - No. 584
AuthgearAuthentication with passkeys, MFA and SSO, self-hosted or in the cloudBest for sign-in with passkeys and SSO for consumer appsClerk, Firebase Authentication★ 2.2k










