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
  1. No. 141KeycloakOpen-source identity and access managementBest for enterprise single sign-on across many appsOkta★ 38.2k
  2. No. 154Better AuthOpen-source authentication framework for TypeScriptBest for adding login to a TypeScript appClerk★ 31k
  3. No. 173authentikOpen-source identity provider for single sign-onBest for single sign-on for a home lab or company appsOkta★ 26.6k
  4. No. 183ZITADELOpen-source identity and access management platformBest for identity and single sign-on for SaaS and companiesOkta★ 15.7k
  5. No. 342SuperTokensAuthentication and session management you can self-hostBest for self-hosted login, like Auth0Clerk★ 15.3k
  6. No. 134LogtoOpen-source authentication and identity for SaaS and AI appsBest for login and identity for SaaS appsClerk★ 15k
  7. No. 354Ory KratosAPI-first identity and user management for cloud-native appsBest for API-first identity for developersOkta★ 14k
  8. No. 397Pocket IDSimple OIDC provider that signs users in with passkeysBest for passkey sign-in for a home serverOkta★ 10.6k
  9. No. 411HankoAuthentication and user management with passkeysBest for passkey login and user managementClerk, Stytch★ 9.1k
  10. No. 439HexclaveUser infrastructure: auth, teams, payments, email and analyticsBest for auth, teams and payments for a SaaS in one packageClerk, WorkOS★ 6.9k
  11. No. 584AuthgearAuthentication 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

In the collection

Whole collection

More open-source alternatives

All alternatives