Open-source and self-hosted alternatives to Auth0

Logins, single sign-on and user management. Keycloak is the long-standing standard; the others are newer and often easier to set up.

Category: Login & identity · GitHub data as of Oct 29, 2026 · FAQ · Cost & self-hosting

ProjectWhat it isLicenseGitHub starsLast releaseRuns asHosted plan
Keycloak
Active Apache-2.0
Open Source Identity and Access Management For Modern Applications and Services. Apache-2.0 37.6k Oct 29, 2026 Self-hosted web app Not confirmed
Authelia
Active Apache-2.0
The Single Sign-On Multi-Factor portal for web apps. OpenID Certified™ and Post-Quantum Cryptography Ready. Apache-2.0 29.4k Sep 17, 2026 Self-hosted web app Not confirmed
authentik
Active Mixed or custom
An identity provider for single sign-on (SSO), multi-factor login and user management. Mixed or custom 26.2k Oct 21, 2026 Self-hosted web app Not confirmed
ZITADEL
Active AGPL-3.0
An identity and access management platform for adding login, SSO and user management to apps. AGPL-3.0 15.5k Oct 22, 2026 Self-hosted web app Yes, from the project

Are they still maintained?

4 of 4 Auth0 alternatives here had a code push or release in the last 180 days (checked Oct 29, 2026).

See every project in the "Is it still maintained?" tracker →

What switching from Auth0 costs

Auth0: current plans and prices are on Auth0's pricing page.

AlternativeHow you run itSoftware costWhat you pay for
KeycloakYour server$0 (Apache-2.0)A server you rent or own, plus your time for updates and backups.
AutheliaYour server$0 (Apache-2.0)A server you rent or own, plus your time for updates and backups.
authentikYour server$0 (Mixed or custom, check terms)A server you rent or own, plus your time for updates and backups.
ZITADELYour server, or the project's hosted plan$0 (AGPL-3.0)A server you rent (or own), or the project's paid hosted plan.

Self-hosting basics: Keycloak, Authelia, authentik and ZITADEL need a server, which can be a small cloud server or a spare machine at home. For a sense of scale, DigitalOcean's price list shows a 1 GiB server at $6/month and 2 GiB at $12/month (checked Oct 29, 2026). Check each project's documented requirements before choosing a size, and budget time for updates and backups.

Don't want to run a server? ZITADEL offers a hosted plan run by the project itself. Prices change, so check each project's site.

License check: authentik does not use a single standard open-source license that GitHub can detect. Read the license before using it in a business.

The options in more detail

Keycloak

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

37.6k GitHub stars · Apache-2.0 · last code push Oct 29, 2026 · GitHub · Website

Authelia

The Single Sign-On Multi-Factor portal for web apps. OpenID Certified™ and Post-Quantum Cryptography Ready.

29.4k GitHub stars · Apache-2.0 · last code push Oct 29, 2026 · GitHub · Website

authentik

An identity provider for single sign-on (SSO), multi-factor login and user management.

26.2k GitHub stars · Mixed or custom · last code push Oct 29, 2026 · GitHub · Website

ZITADEL

An identity and access management platform for adding login, SSO and user management to apps.

15.5k GitHub stars · AGPL-3.0 · last code push Oct 29, 2026 · GitHub · Website

Auth0 alternatives: common questions

What is the best open-source alternative to Auth0?

It depends on how you use Auth0. Of the 4 options here, Keycloak is the most followed on GitHub (37.6k stars) and is actively maintained, with its latest release on Oct 29, 2026.

Is there a self-hosted Auth0 alternative?

Yes. Keycloak, Authelia, authentik and ZITADEL run on a server you control, so your data stays with you. If you'd rather not run a server, ZITADEL also offers a hosted plan from the people who make it.

Is there a free alternative to Auth0?

Yes. Every project on this page can be downloaded and used at no cost from its public repository. Server apps are free software, but you pay for the server they run on. Check the license of authentik before using it in a business.

Are these Auth0 alternatives still maintained?

As of Oct 29, 2026, 4 of 4 had a code push or release in the last 180 days. None are flagged as inactive or archived. We re-check every project weekly.

How much does it cost to switch from Auth0?

The software itself is free. For server apps, the main cost is hosting: as a reference point, DigitalOcean lists a 1 GiB server at $6/month and a 2 GiB server at $12/month (checked Oct 29, 2026). Check each project's documented requirements before choosing a size. The hidden cost is time: moving your data and, for self-hosted apps, keeping up with updates and backups.

Are all of these really open source?

Not all under a standard license. authentik: GitHub could not identify a single standard license for this repository (often a mix of open-source and commercial parts). Read the LICENSE file before using it. The others use OSI-approved open-source licenses.

Know a project we missed, or maintain one listed here? Tell us. Maintainers can add a live status badge to their README.

Get new open-source swaps by email

One short email a week: newly listed projects, big releases, and projects that went quiet. No spam.