Best open-source alternatives to Auth0
A cloud identity platform for authentication and authorization.
Auth0 provides developer-friendly OAuth2/OIDC, social login, MFA, and enterprise SSO as a managed service. It is widely adopted for its SDKs and quick time-to-value, but its per-MAU pricing scales poorly for large user bases and its SaaS nature means your identity data lives on third-party infrastructure.
9 alternatives listedBest for your setup
Homelab Novice
Wants it running tonight, with one command.
authentik26.5k
authentik is an open-source identity provider for modern SSO that supports SAML, OAuth2/OIDC, LDAP, RADIUS, and related identity management use cases.
- Ships a Compose file
- Live demo
See all74/100 fitHow well this app matches homelab novices, 0 to 100
Homelab Expert
Runs a stack already and wants it to plug in.
cerbos4.7k
Cerbos is an authorization layer and policy decision point that evaluates YAML-based access control rules for application resources.
- REST or GraphQL API
- Multi-user
See all84/100 fitHow well this app matches homelab experts, 0 to 100
Homelab Hacker
Wants control: APIs, scripts and many ways to run it.
Appwrite58.6k
Appwrite is an open-source development platform that provides backend infrastructure, authentication, databases, storage, functions, messaging, and web hosting in one place.
- Scriptable API
- Many ways to install
See all81/100 fitHow well this app matches homelab hackers, 0 to 100
- BSD 3-Clause "New" or "Revised" LicenseOpen Source — No Paywall
Appwrite is an open-source development platform aimed at teams building web, mobile, and AI applications. It combines backend services and hosting in a single system so developers can avoid assembling a separate stack for authentication, data storage, file handling, compute, messaging, and deployment. The README positions it as both a managed cloud offering and a self-hosted platform for infrastructure under the user's control. The project is designed for developers who want production-ready primitives without implementing common backend infrastructure from scratch. It supports a broad range of client and server SDKs, and its product suite includes authentication, databases, storage, functions, messaging, and Sites for web hosting. Self-hosting is described as container-based, with installation through Docker, docker-compose, and Kubernetes-oriented deployments, making it suitable for local development as well as controlled production environments.
Cloud OptionalMulti-UserDockerDocker ComposeKubernetesSourceFeatures:
- authentication
- multiple login methods
- session management
- multi-factor authentication
- user verification
+5 more
Auth:oauthlocal2fa - Apache License 2.0Open Source — No Paywall
Cerbos is a self-hosted authorization system designed to sit between an application and its access-control logic. It helps teams define permissions in YAML policies and evaluate those policies at runtime through APIs, so applications can make dynamic allow/deny decisions without embedding complex authorization logic directly in code. The project is aimed at developers and platform teams building applications that need fine-grained access control, including RBAC and more context-aware ABAC-style rules. It supports deployment as a standalone Policy Decision Point in environments such as Kubernetes, systemd, or serverless functions, and it integrates with applications through SDKs and query plan adapters. A cloud-hosted Cerbos Hub is also mentioned for collaborative policy authoring and distribution, but the core PDP is self-hosted.
Telemetry: Opt-OutCloud OptionalMulti-UserDockerBinaryPackage ManagerHelmFeatures:
- context-aware access control rules
- YAML policy authoring
- GitOps-managed deployment
- policy evaluation APIs
- CheckResources API
+5 more
Auth:local authentik is an open-source identity provider built for modern single sign-on and broader identity management. It is aimed at organizations and self-hosters that need to centralize authentication and access management across applications, with support for common protocols such as SAML, OAuth2/OIDC, LDAP, and RADIUS. The project is designed to scale from small labs to large production clusters and includes an enterprise offering for larger organizations. The README highlights deployment options such as Docker Compose for smaller setups and Kubernetes for larger environments, along with cloud deployment paths like AWS CloudFormation and DigitalOcean Marketplace.
Cloud OptionalMulti-UserDocker ComposeKubernetesFeatures:
- SSO identity provider
- SAML support
- OAuth2/OIDC support
- LDAP support
- RADIUS support
+3 more
Auth:samloauthldapTrailBase is a self-hosted backend platform aimed at developers building mobile, web, or desktop applications. It positions itself as an open Firebase alternative that emphasizes very low latency, fewer moving parts, and a single-executable deployment model. The project combines a server, client libraries, documentation, tests, and examples in one repository. Its README highlights type-safe REST and realtime APIs, multi-database support, a WebAssembly runtime, geospatial features, server-side rendering, authentication, and an admin UI. It can be run from pre-built binaries or Docker, and it also supports extending the server with WASM components such as an auth UI.
Multi-UserDockerBinarySourceFeatures:
- single-executable deployment
- type-safe REST APIs
- realtime APIs
- multi-DB support
- WebAssembly runtime
+5 more
Auth:localStack Auth is an open-source authentication platform aimed at developers building modern web applications. It offers managed authentication, user management, and authorization features, while remaining self-hostable and optional to use as a hosted service. The project is designed to help teams get started quickly with prebuilt sign-in and sign-up components, account settings, user dashboards, and support for OAuth, passwords, magic links, and passkeys. It also includes organization and team management, role-based access control, impersonation, webhooks, automated emails, token handling, and machine-to-machine authentication. The README indicates support for Next.js, React, JavaScript frontends, and any backend that can call its REST API. It appears geared toward projects that need a production-ready identity layer with both hosted and self-hosted deployment options, plus a developer-oriented setup and local development environment.
Cloud OptionalMulti-UserMulti-TenantSourceFeatures:
- Sign-in and sign-up components
- OAuth, password, and magic-link authentication
- User dashboard
- Account settings
- Multi-tenancy and teams
+5 more
Auth:oauthlocal- Mozilla Public License 2.0Open Source — No Paywall
Mozilla Accounts is Mozilla’s monorepo for its account system, formerly known as Firefox Accounts. The README identifies it as the central codebase for Mozilla Accounts and the related Subscription Platform, but it does not describe product features or end-user workflows in detail. For development, the README points contributors to the project’s documentation hub and a separate contribution guide. As written, it is primarily an entry point for developers and contributors rather than a user-facing product overview, so the README provides little information about installation, runtime requirements, or operational characteristics.
- Apache License 2.0Open Core — Some Features Paid
Para is a backend server and framework intended for developers who need a scalable, multitenant data layer and API service. It is described as useful for building and prototyping applications faster by handling backend operations such as persistence, retrieval, search, caching, security, and monitoring. The project can be used as a library inside a JVM application or deployed as a standalone API server. It includes a RESTful JSON API, JWT-based client authentication, webhooks, permission controls, and support for multiple data stores and search engines. The README also highlights a web console for managing users, objects, permissions, and backups, making it suitable for teams building cloud or self-hosted application backends.
Cloud OptionalMulti-UserMulti-TenantDockerDocker ComposeKubernetesHelmBinarySourceFeatures:
- RESTful JSON API
- multitenancy
- webhooks
- LDAP/SAML/social login security
- JWT authentication
+5 more
Auth:ldapsamloauthlocal - GNU General Public License v3.0Open Source — No Paywall
Jauth is a minimal reverse proxy designed to sit in front of self-hosted web applications and add an authorization layer. It is aimed at users who want to protect services with a small, self-contained gateway rather than a heavier identity platform. The README emphasizes simplicity, minimal configuration, and support for multiple domains. The proxy can terminate TLS using either self-signed certificates or Let’s Encrypt, and it forwards authenticated traffic to configurable local or remote targets. Authentication is handled through SSH keys or Telegram-based login, with optional single sign-on and per-domain whitelist controls. It also exposes the authenticated username to upstream apps through the Remote-User HTTP header, making it suitable for integrating with applications that understand reverse-proxy authentication.
Cloud OptionalMulti-UserBinaryFeatures:
- SSL/TLS reverse proxy
- Autogenerated self-signed certificates
- Let's Encrypt support
- User authorization via SSH
- User authorization via Telegram
+5 more
Auth:local - MIT LicenseOpen Source — No Paywall
PocketBase is an open source backend framework and standalone server aimed at developers who want a portable backend without assembling a large stack. It packages an embedded SQLite database, user and file management, realtime subscriptions, an admin dashboard, and a REST-ish API into a single Go-based project. The project can be used in two main ways: as a ready-to-run app via prebuilt executables, or as a Go library/toolkit for building custom applications with your own business logic. The README also points to official SDK clients for JavaScript and Dart, making it easy to integrate web, mobile, desktop, and CLI applications with PocketBase's web APIs.
Offline CapableMulti-UserBinarySourceFeatures:
- embedded SQLite database
- realtime subscriptions
- files management
- users management
- admin dashboard UI
+5 more
Auth:local
Want your project featured here? Sponsor this page
What to look for in a Auth0 alternative
Prioritize standards compliance (OAuth2, OIDC, SAML) and SDK ecosystem coverage for your stack. Check whether the alternative supports social providers, passwordless, and adaptive MFA out of the box. Operational complexity matters here — identity infrastructure is critical path, so assess deployment reliability, upgrade paths, and community support carefully.
Other SaaS alternatives
- 4 alternatives
A hosted Postgres backend with auth, storage and realtime APIs.
Appwrite, Hasura, TrailBase
+1 more - 29 alternatives
Platform-as-a-service for deploying web applications.
Appwrite, Dokku, CapRover
+26 more - 52 alternatives
An all-in-one workspace for notes, docs, and databases.
AFFiNE, Memos, AFFiNE Community Edition
+49 more - 45 alternatives
A cloud file sync and sharing service.
Syncthing, Cloudreve, SeaweedFS
+42 more - 35 alternatives
A long-running personal note-taking and clipping app.
Memos, Joplin, Logseq
+32 more - 35 alternatives
The ubiquitous team messaging and collaboration platform.
Rocket.Chat, Zulip, The Lounge
+32 more