Skip to main content
OpenAlternative

Auth0 alternatives

11 projects to consider for Auth0.

Explore Hanko, Apache APISIX and Authentik. Each takes a different approach from Auth0. Read its capabilities and limitations to find the right fit.

Hanko

Passkeys, SSO, and MFA without vendor lock-in

License unverifiedUnknownSelf-hosted

Product teams that have already decided on passkeys will get the most from Hanko. Its password-optional defaults, drop-in login components, JWT APIs, and portable self-host-or-Cloud model remove the usual build-versus-rent dilemma for modern auth. Teams that still depend on passwords everywhere, need SSO inside a free tier, or have nobody to operate a backend should look elsewhere. If your users carry passkey-ready devices and you want your user table in your own Postgres, start with the free tier or a self-hosted pilot; if you need a managed incumbent with bundled enterprise SSO, price Auth0 alongside it.

Good fit. Teams going passwordless on purpose: if your roadmap already says passkeys first, Hanko's defaults match your decision instead of fighting it with password-centric assumptions.

Keep in mind. Teams unready for WebAuthn UX: passkey ceremonies depend on user devices and platform support, so shops whose users still live in passwords face an education and fallback bill before the benefits arrive.

Apache APISIX

Open-source API gateway for routing, security, and AI traffic

Open sourceApache-2.0Self-hosted

Apache APISIX is a self-hosted Apache 2.0 API gateway that routes microservice, Kubernetes, and LLM traffic through a plugin model. Operators manage it by Admin API, declarative files, or dashboard, with etcd under the hood. It suits teams wanting gateway control, not teams seeking a managed service.

Good fit. Platform teams that want one self-hosted gateway for routing microservice API traffic with plugin-based policy enforcement.

Keep in mind. Production setups require etcd or a compatible store plus container or Kubernetes know-how, which adds operational overhead compared with managed gateways.

Authentik

Self-hosted open-source identity provider for modern SSO

Open sourceMITSelf-hosted

Self-hosted SSO with visual flows Authentik is a self-hosted, MIT-licensed identity provider (25821 GitHub stars, version 2026.8.3) offering SSO over OIDC, SAML, LDAP, SCIM, RADIUS, Kerberos, and proxy with a visual flow builder, TOTP and WebAuthn MFA, and air-gapped deployment. The core is free; Enterprise adds privileged access management and directory integrations at $5 per user per month billed annually.

Good fit. Teams consolidating logins across many internal applications behind one directory with per-app policies will get the most value from authentik.

Keep in mind. Teams without anyone comfortable running Postgres, Redis, and container updates should avoid authentik, since every upgrade, backup, and outage is theirs to handle.

Authgear

Open source auth with SSO, passkeys, and user management

Open sourceApache-2.0Self-hostedManaged hosting

Open-source auth with passkeys, SSO, and a 100k-MAU free tier Authgear is an open-source customer identity platform that gives SaaS and mobile teams login, single sign-on, and user management without building auth in-house. Its cloud free tier covers up to 100,000 monthly active users, while Standard and Enterprise plans add SSO, audit logs, SLAs, and regional data residency on usage-based pricing.

Good fit. SaaS teams that want login, MFA, and SSO handled outside their own codebase, starting on a free tier of up to 100,000 monthly active users.

Keep in mind. Single sign-on, audit logs, custom SLAs, dedicated support, and custom data processing terms all require paid Standard or Enterprise plans, so the free tier suits only teams without enterprise buyer requirements.

Better Auth

TypeScript auth library that runs inside your app

Open sourceMITSelf-hosted

TypeScript teams building login inside a Next.js, React, or Node application get the most from Better Auth. Its framework-native library with a typed client, plugin ecosystem, and database-owned sessions delivers email, OAuth, and organization auth without a per-user vendor meter. The constraint is ownership: you build the login UI yourself and you own patching, secrets, and monitoring, so teams wanting managed login pages should stay with a hosted vendor such as Auth0. If you have TypeScript developers and want user rows in your own database, choose Better Auth; if you need managed no-code login, choose Auth0.

Good fit. TypeScript teams that want user rows in their own database: adapters and CLI migrations keep auth data beside application data under your own control.

Keep in mind. Teams expecting ready-made login pages: you build the login UI yourself from components or your own design, which is real frontend work.

Hexclave

Open-source user infrastructure for auth, payments, emails, and analytics

Custom licenseMIT / AGPL-3.0Self-hostedManaged hosting

Product teams shipping a JavaScript app who need login, teams, and billing fast will get the most from Hexclave. Its prebuilt auth flows with passkeys and social login, declarative config with CLI-driven sync, and free self-hosting option cover the everyday user-infrastructure need without per-subsystem builds. Teams that need deep custom identity workflows, a non-JavaScript stack, or independent public reviews confirming day-to-day reliability should look at an in-app library or a specialist vendor instead. If you want managed convenience with a free starting tier, start with Hexclave Cloud; if you must hold your own user data and keys, start with the self-hosted stack.

Good fit. Prebuilt auth components, the shared user model, and the CLI dev workflow remove per-subsystem builds for Next.js, React, and TanStack Start products shipping login, teams, and billing fast.

Keep in mind. The app catalogue covers standard login, teams, and RBAC, but bespoke provisioning, legacy-directory, or complex federation needs may outgrow the documented apps.

KrakenD

Stateless open-source API gateway for aggregation and traffic control

Open sourceApache-2.0Self-hosted

KrakenD fits platform teams that want to collapse chatty microservice calls into single edge endpoints without operating a database for the gateway itself. Its declarative JSON configuration, response aggregation, and gateway-level JWT, OAuth2, and rate-limit enforcement carry the recommendation. Teams wanting a visual admin console, plugin marketplace, or fully managed cloud should look elsewhere, since KrakenD is config-file driven and self-hosted only. If your staff can own a JSON-defined gateway on Docker or Kubernetes, choose KrakenD; if you need no-code management, consider a dashboard-led gateway such as Apache APISIX.

Good fit. Teams whose mobile or frontend apps fan out to many services gain the most, because aggregation directly removes round trips their users feel.

Keep in mind. The Community Edition is configured in files, so operators expecting a built-in console or click-through setup will find daily work unfamiliar.

Logto

Open-source identity platform with auth, SSO, and multi-tenancy

Open sourceMPL-2.0Self-hostedManaged hosting

SaaS teams that need sign-in, enterprise SSO, and multi-tenant organization management without building identity in-house benefit most from Logto. Its OIDC and OAuth foundation, social and enterprise SSO connectors, and role-based access control with organizations cover the standard application-authentication workflow, self-hosted or on Logto Cloud. The constraint is operational and commercial: self-hosting needs PostgreSQL, Redis, and container operations, while SSO, extra tenants, and higher support tiers raise the Cloud bill. If you want open-source control over identity with a managed escape hatch, choose Logto; if you want a fully managed service with no infrastructure of your own, choose Auth0 instead.

Good fit. SaaS teams shipping B2B authentication: enterprise SSO plus per-tenant organizations and RBAC map directly onto customer-facing login requirements.

Keep in mind. Teams with no one to run infrastructure: self-hosting assumes Docker, PostgreSQL, and Redis operations, and the managed alternative is a paid plan once usage grows.

Ory

Open-source identity platform for login, SSO, and permissions

Open sourceApache-2.0Self-hostedManaged hosting

Teams that want to own their login stack without building identity from scratch benefit most from Ory. Its Kratos identity flows, Hydra OAuth2 tokens, and Keto permissions cover sign-up, single sign-on, and authorization over open standards, self-hosted or on Ory Network. The constraint is operational and commercial: self-hosting a modular IAM system needs container and database operations, while Network SSO tiers and the Enterprise License raise the bill. If you want open-source control of identity with a managed escape hatch, choose Ory; if you want a fully managed login with no infrastructure of your own, stay with Auth0 instead.

Good fit. Teams replacing home-grown authentication: Kratos, Hydra, and Keto map directly onto registration, login, token, and permission requirements the team would otherwise build.

Keep in mind. Teams with no one to run infrastructure: self-hosting a modular IAM system assumes container and database operations, and the managed alternative is a paid plan once usage grows.

Permify

Open-source authorization service for fine-grained RBAC, ABAC, and ReBAC

Open sourceAGPL-3.0Self-hostedAcquired

Platform teams that want centralized fine-grained authorization with relationship-based policies will benefit most from Permify. Its Zanzibar-inspired permission model, single schema language for RBAC, ABAC, and ReBAC, and Check and Permission APIs directly address scattered authorization logic. Teams without developers to model schemas and integrate APIs, or needing a no-code access tool, should choose something else. If you have developers and accept running an AGPL-3.0 service in your own environment, choose Permify; if you need no-code simplicity, look at simpler managed alternatives instead.

Good fit. Microservices teams replacing scattered permission logic: a central decision point removes duplicated allow-or-deny code across services.

Keep in mind. Non-technical teams wanting no-code access control: policies are schema code and integration needs API work, so the workflow assumes developers.

SuperTokens

Open-source user authentication with self-hosting and managed cloud

Open sourceApache-2.0Self-hostedManaged hosting

Open-source auth for teams that want data control SuperTokens suits teams that want open-source authentication they can self-host without giving up passwordless, social login, SSO, and MFA. The Core is genuinely Apache-2.0 and the migration docs ease exits from hosted providers, but self-hosting is real operational work and the managed Cloud turns usage-based past 5,000 MAU. Confirm support terms with sales if an SLA matters.

Good fit. Teams that must keep user credentials and sessions in their own infrastructure get a documented Docker or binary deployment against their own PostgreSQL, instead of handing the user store to a third-party cloud.

Keep in mind. Self-hosting means running and hardening the Core and PostgreSQL yourself: private networking, API keys, TLS at a proxy, and tenant isolation enforced by your backend. That is real operational work, not a toggle.