Skip to content
OSSsoftware

Open Source Alternatives to Auth0

Auth0 is Okta's hosted authentication platform. These are the best free and open-source Auth0 alternatives, ranked by community, activity and maintenance — see also Authentication & SSO.

30 projects · top pick KeyCloak (★ 38k) · also Better Auth, Authentik, ZITADEL · stats updated 2026-11-27.

Share:XLinkedIn

Top 10 compared

Open-source Auth0 alternatives compared
ProjectStarsLicenseLanguageLast commitHealth
KeyCloakOpen Source Identity and Access Management For Modern Applications and Services.38k GitHub starsApache-2.0JavatodayThriving
Better AuthComprehensive authentication framework for TypeScript.31k GitHub starsMITTypeScripttodayThriving
AuthentikFlexible open-source identity provider.26k GitHub starsOtherPythontodayThriving
ZITADELZITADEL - Identity infrastructure / simplified for you.16k GitHub starsAGPL-3.0GotodayThriving
SuperTokensFully flexible open source auth in 15 minutes.15k GitHub starsOtherJavatodayThriving
OryHeadless cloud-native authentication and identity management written in Go. Scales to a billion+ users. Replac14k GitHub starsApache-2.0Go4 months agoHealthy
HankoAuthentication and user management system optimized for passkeys.9.1k GitHub starsAGPL-3.0GotodayThriving
OPAL (Permit.io)Authorization administration framework (Open Policy)5.5k GitHub starsApache-2.0Python11 days agoThriving
CerbosCerbos is an open-core authorization management platform for authorizing every identity and governing every ac4.7k GitHub starsApache-2.0Go2 days agoThriving
BoxyHQSecurity Building Blocks for Developers.2.3k GitHub starsApache-2.0TypeScript4 months agoHealthy

All 30 projects

KeyCloak

Node.js

38k GitHub stars

Open Source Identity and Access Management For Modern Applications and Services.

ThrivingJava · Apache-2.0 · updated today

Better Auth

Authentication & SSO

31k GitHub stars

Comprehensive authentication framework for TypeScript.

ThrivingTypeScript · MIT · updated today

Authentik

Authentication & SSO

26k GitHub stars

Flexible open-source identity provider.

ThrivingPython · updated today

ZITADEL

JavaScript

16k GitHub stars

ZITADEL - Identity infrastructure / simplified for you.

ThrivingGo · AGPL-3.0 · updated today

SuperTokens

TypeScript

15k GitHub stars

Fully flexible open source auth in 15 minutes.

ThrivingJava · updated today

Ory

Authentication & SSO

14k GitHub stars

Headless cloud-native authentication and identity management written in Go. Scales to a billion+ users. Replace Homegrown, Auth0, Okta, Firebase with better UX and DX. Passkeys, Social Sign In, OIDC, Magic Link, Multi-Factor Auth, SMS, SAML, TOTP, and more. Runs everywhere, runs best on Ory Network.

HealthyGo · Apache-2.0 · updated 4 months ago

Hanko

Authentication & SSO

9.1k GitHub stars

Authentication and user management system optimized for passkeys.

ThrivingGo · AGPL-3.0 · updated today

OPAL (Permit.io)

Authentication & SSO

5.5k GitHub stars

Authorization administration framework (Open Policy)

ThrivingPython · Apache-2.0 · updated 11 days ago

Cerbos

Authentication & SSO

4.7k GitHub stars

Cerbos is an open-core authorization management platform for authorizing every identity and governing every action across applications, gateways, workloads, and AI agents.

ThrivingGo · Apache-2.0 · updated 2 days ago

BoxyHQ

Node.js

2.3k GitHub stars

Security Building Blocks for Developers.

HealthyTypeScript · Apache-2.0 · updated 4 months ago

Jackson

Authentication & SSO

2.1k GitHub stars

an SSO service supporting SAML and OpenID Connect protocols. Single Sign-On; Directory Sync via the SCIM 2.0 protocol for automatic user/group provisioning/de-provisioning. 🤩.

Warrant

Authentication & SSO

1.3k GitHub stars

Authorization and access control as a service

SteadyGo · Apache-2.0 · updated 12 months ago

FusionAuth

Authentication & SSO

240 GitHub stars

User authentication and session management framework

HealthyDockerfile · updated 3 days ago

Oso

Ruby

160 GitHub stars

A Ruby OAuth microservice for SAML based authentication.

SlowingTypeScript · updated 4 years ago

Supabase

Databases

116k GitHub stars

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

ThrivingTypeScript · Apache-2.0 · updated today

Authelia

Docker

30k GitHub stars

The Single Sign-On Multi-Factor portal for web apps.

ThrivingGo · Apache-2.0 · updated today

Docuseal

Authentication & SSO

19k GitHub stars

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️.

ThrivingRuby · AGPL-3.0 · updated 4 days ago

Pangolin

Web servers & proxies

24k GitHub stars

Identity-aware tunneled reverse proxy with dashboard UI, access control, and WireGuard-based tunnels (alternative to Cloudflare Tunnel, Tailscale).

ThrivingTypeScript · updated today

Documenso

Authentication & SSO

16k GitHub stars

The Open Source DocuSign Alternative.

ThrivingTypeScript · AGPL-3.0 · updated today

hexclave

Analytics

6.9k GitHub stars

The user infrastructure platform. You choose the frontend, backend, and database. Hexclave handles everything else.

ThrivingTypeScript · updated 7 days ago

tinyauth

Authentication & SSO

8.5k GitHub stars

The tiniest OpenID Certified™ authorization and authentication server you have ever seen.

ThrivingGo · AGPL-3.0 · updated today

Cosmos

Self-hosting & PaaS

6.2k GitHub stars

Run server applications securely and with built-in privacy features. It acts as a secure gateway to your application, as well as a server manager.

ThrivingGo · updated 15 days ago

TrailBase

Databases

5.8k GitHub stars

Open-source single-executable backend and Firebase alternative built with Rust and SQLite.

ThrivingRust · OSL-3.0 · updated today

Pomerium

Web servers & proxies

5.1k GitHub stars

Identity-aware reverse proxy, successor to now obsolete oauth_proxy. It inserts an OAuth step before proxying your request to the backend, so that you can safely expose your own websites to public Internet.

ThrivingGo · Apache-2.0 · updated today
4.0k GitHub stars

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

ThrivingVue · MIT · updated 7 days ago

MaxKey

Authentication & SSO

2.0k GitHub stars

Dromara MaxKey 🗝️ SSO ,Leading-Edge IAM-IDaas(Identity and Access Management) Product , Under Apache-2.0 is free ,业界领先的IAM-IDaas身份管理和认证产品,遵循Apache-2.0开源免费,支持OAuth2.x、OpenID Connect、SAML2.0、CAS、JWT、SCIM等SSO标准协议,基于RBAC统一权限控制,实现用户生命周期管理,开源、安全、合规、自主可控。.

ThrivingJava · Apache-2.0 · updated today

Teampass

Password managers

1.9k GitHub stars

Password manager dedicated for managing passwords in a collaborative way. One symmetric key is used to encrypt all shared/team passwords and stored server side in a file and the database. works on any server Apache, MySQL and PHP.

ThrivingPHP · GPL-3.0 · updated 2 days ago

voidauth

Authentication & SSO

2.9k GitHub stars

Single Sign-On for Your Self-Hosted Universe.

ThrivingTypeScript · AGPL-3.0 · updated today

Bichon

Backup

2.1k GitHub stars

Email archiving server that syncs from IMAP accounts, indexes emails for full-text search, and provides a REST API. No external database required, includes WebUI with multi-account support.

ThrivingRust · AGPL-3.0 · updated 2 days ago
1.9k GitHub stars

Self-hosted application server for schema-driven APIs, identity, files, automation, integrations, realtime, metering, and protocols.

ThrivingGo · LGPL-3.0 · updated today

Head-to-head comparisons

Frequently asked questions

What is the best open-source alternative to Auth0?

KeyCloak (★ 38k on GitHub) is the top-ranked open-source Auth0 alternative; Better Auth, Authentik, ZITADEL are strong options too.

Is there a free alternative to Auth0?

Yes. All 30 projects on this page are open source and free to use; Docuseal, Pangolin, Documenso can be self-hosted on your own server.

Can I self-host an alternative to Auth0?

Yes — Docuseal, Pangolin, Documenso are designed for self-hosting with Docker.

Why switch from Auth0 to open source?

No per-seat fees, full control of your data, no vendor lock-in, and the ability to audit and extend the code.