Open Source Alternatives

Alternatives to Auth0

Identity and access management platform. 8 open source alternatives tracked.

auth0.com
1

ZITADEL

38

Identity infrastructure, simplified

ZITADEL is identity infrastructure for SaaS teams who don't want to become Keycloak administrators. Multi-tenancy, event sourcing for complete audit trails, and strong security defaults — all in a single Go binary that deploys in minutes, not days.

13.4k+68/wkGoGNU Affero General Public License v3.0
2

SuperTokens

37direct alternative

Open source alternative to Auth0/Firebase Auth/Cognito

SuperTokens is the auth solution for developers who want to own their user data without building auth from scratch. Email/password, social login, passwordless, MFA, session management — all self-hosted with prebuilt UI components.

15.0k+19/wkJavaOther
3

Logto

33direct alternative

Auth infrastructure for SaaS and AI apps

Logto is auth infrastructure that doesn't make you choose between open-source control and modern developer experience. Full OAuth 2.1, OIDC, multi-tenancy, RBAC, and social login — with a clean admin console that makes Keycloak's UI look like a 2005 enterprise portal.

11.8k+43/wkTypeScriptMozilla Public License 2.0
4

Ory Kratos

27

Headless cloud-native identity management

Ory Kratos is headless identity management for developers who want auth as an API, not a UI library. It handles registration, login, MFA, account recovery, and profile management through pure API calls — you build the frontend exactly how you want.

13.5k+14/wkGoApache License 2.0
5

Passport

26direct alternative

Simple, unobtrusive authentication for Node.js

Passport.js is the authentication middleware that every Express.js tutorial teaches — plug in a "strategy" for Google OAuth, GitHub login, JWT, or local username/password, and it handles the session dance. With 500+ strategies, it supports practically every auth method that exists.

23.5k+5/wkJavaScriptMIT License
6

Lucia

22direct alternative

Authentication, simple and clean

Lucia was the auth library every indie hacker recommended — simple session management without the bloat of NextAuth or the vendor lock-in of Auth0. Clean API, framework-agnostic, TypeScript-first.

10.5k+8/wkTypeScriptBSD Zero Clause License
7

Authentik

20direct alternative

Flexible identity provider

Authentik is the identity provider that makes Keycloak look like enterprise bloatware. Written in Python with a visual flow editor, it lets you build custom auth journeys — passwordless for some users, MFA for others — without touching code.

20.7k+101/wkPythonOther
8

Authelia

19direct alternative

SSO multi-factor portal for web apps

Authelia is the authentication portal for people who self-host everything. Drop it in front of your reverse proxy (Nginx, Traefik, Caddy) and get SSO, two-factor authentication, and access policies for all your self-hosted apps.

27.3k+67/wkGoApache License 2.0

Get open source alternatives delivered weekly

The Open Source Drop — the best new open source tools, analyzed. Free.