8 Open Source Alternatives to Auth0

There are 8 open-source alternatives to Auth0 in this directory. The most popular is Keycloak with 33.8k GitHub stars, followed by Authelia(27.5k stars). All are open source, free to use, and many can be self-hosted.

Quick comparison

Open-source alternatives to Auth0, ranked by GitHub stars
#ToolStarsLanguageLicense
1Keycloak

Open Source Identity and Access Management solution for modern applications and services, offering single sign-on, user federation, and multi-factor authentication.

33.8kJavaApache License 2.0
2Authelia

Authelia is a Single Sign-On Multi-Factor Authentication portal for web apps, providing secure and streamlined access management.

27.5kGoApache License 2.0
3Zitadel

ZITADEL is a modern identity infrastructure that simplifies authentication and authorization for developers, providing advanced features like multi-factor authentication and single sign-on.

13.5kGoGNU Affero General Public License v3.0
4Lucia

A user-friendly authentication library designed to be simple and clean for developers.

10.5kBSD Zero Clause License
5OpenAuth

OpenAuth is a universal, standards-based authentication provider designed to simplify secure authentication for applications.

5.7kTypeScriptMIT License
6Authgear-server

authgear-server is an open-source authentication server that serves as an alternative to Auth0 and Firebase Auth. It provides secure, flexible, and scalable user authentication and identity management for web and mobile applications.

1.6kGoApache License 2.0
7React Query Auth

Easily add authentication to your React applications using React Query, providing a seamless integration for secure and efficient login flows.

411TypeScriptMIT License
8React-auth

Simplify your authentication flow when working with React applications, enhancing security and user experience.

50TypeScriptMIT License

All open-source alternatives to Auth0

Frequently asked questions

What are the best open-source alternatives to Auth0?

The top three are Keycloak(33.8k stars), Authelia(27.5k stars), Zitadel(13.5k stars). All are open source and free to use.

Are these alternatives to Auth0 free?

Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.

Can I self-host an alternative to Auth0?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.