Compare
FoxAuth vs Auth0: Self-Hosted Auth0 Alternative
Self-hosted Auth0 alternative compared side by side: MAU billing vs your own PostgreSQL or MongoDB, FAPI, DPoP, PAR, MCP and free beta cloud.
Last checked 2026-11-05 against the linked sources. Auth0 changes. Where its documentation did not say, this page says so instead of guessing. Found something out of date? Tell us at hello@foxauth.dev.
The short answer
Auth0 is the better pick when you want identity as a service with an SLA this week, with social connections and a FAPI certification you can hand to a reviewer. FoxAuth is the better pick when the data has to live in your own database, when the per-user bill is the problem, or when you need the banking-grade profiles without an Enterprise add-on.
Choose Auth0 if…
- You do not want to run anything, and you need an SLA today.
- You need social and enterprise connections working this week.
- You want certified FAPI conformance and a support organisation with a status page.
- You need a managed service with a support contract, and your budget is smaller than an engineer keeping a server healthy.
Choose FoxAuth if…
- Your cost grows with your user count and you would rather it grew with your infrastructure.
- A regulator or a contract requires identity data to stay in your own database.
- You need DPoP, PAR, CIBA or mTLS without an Enterprise plan and an add-on.
- You want an AI agent administering the instance through the same audited path a human uses.
Side by side
Every row has a verdict and the reason for it
- Built in
- Behind a flag, preview or add-on
- Not available
- Not documented
- Not applicable
Row verdicts: 12 FoxAuth · 4 Auth0 · 3 even · 8 different goals. A count is not a recommendation: weigh the rows that matter to you.
| Dimension | FoxAuth | Auth0 | Verdict |
|---|---|---|---|
| Getting started and operations | |||
| Hosting model | ●Self-hosted container, imported as a library, or FoxAuth Cloud, free during the beta with no SLA yet. | ●Managed multi-tenant cloud, or Private Cloud on AWS or Azure. Self-hosting is not documented. | Different goals Both can be run for you. Auth0's cloud has an SLA and no self-hosted form; FoxAuth Cloud has no SLA yet, and FoxAuth can also run in your own infrastructure. What their docs sayPrivate Cloud is described as "A dedicated, managed cloud service". |
| Runtime and code | ●TypeScript on Bun. The whole server is code you can read and fork. | —Auth0's runtime. Customisation is done in Actions, since the server itself is Auth0's. | Different goals FoxAuth is software you own; Auth0 is a service you configure. |
| Where the data lives | ●Your own PostgreSQL or MongoDB database. | ○Auth0's store. Customer-operated storage is not documented. | FoxAuth Identity data stays in a database you control. |
| Social and enterprise connections | ◐Google, Microsoft, Apple and GitHub by name; any other OIDC provider by hand. Per project, behind federation.enabled. Entra ID, Okta or any SCIM 2.0 directory provisions users and groups (scim.enabled); no SAML or AD/LDAP connections. | ●A catalogue of social and enterprise connections out of the box. | Auth0 Auth0's catalogue runs to dozens, SAML and AD/LDAP included; four named providers, hand configuration and SCIM provisioning do not. |
| Operations burden | ◐Self-hosted, you run a database and a container and apply upgrades. On FoxAuth Cloud we do, with no SLA yet. | ●None. Uptime, upgrades and scaling are Auth0's. | Auth0 If running a database is not something your team wants to take on, the managed service is probably the right call. |
| Maturity | ◐2.4.0, the twenty-seventh tagged release (December 2026); 1.0.0 was the first stable one. | ●Established product, support organisation, status page, years of certifications. | Auth0 Auth0 has years of certifications and a support organisation behind it; FoxAuth has no conformance certification. |
| Protocol coverage | |||
| PKCE for every client (OAuth 2.1) | ●Mandatory for every client. Exact redirect matching; no Implicit or password grant. | ◐Documented for public clients. A requirement for every client is not documented. | FoxAuth OAuth 2.1 behaviour is the default. What their docs sayPKCE is documented for "applications that cannot store a client secret, such as native or single-page apps". |
| DPoP (RFC 9449) | ◐Including server nonces, behind dpop.enabled. | ◐Supported, enabled per resource server; a nonce is required. | Even Both implement it with nonces. What their docs say"Auth0 supports mTLS sender constraining and Demonstrating Proof-of-Possession (DPoP)" and "requires your DPoP HTTP header to have a nonce value". |
| Pushed Authorization Requests (RFC 9126) | ◐Behind par.enabled, in every install. | ◐Enterprise Plan with the Highly Regulated Identity add-on. | FoxAuth Included with the server; there is no Enterprise add-on to buy. What their docs say"you must have an Enterprise Plan with the Highly Regulated Identity add-on". |
| FAPI profiles | ◐Profile behaviours behind fapi.enabled. No conformance certification. | ●Certified FAPI provider; FAPI 1 Advanced compliance on the Enterprise Plan with the add-on. | Auth0 A certification you can hand to a reviewer. What their docs say"Auth0 is a certified FAPI provider." |
| CIBA | ◐Behind ciba.enabled, in every install. | ◐Enterprise Plan or an add-on; email notifications need a paid add-on. | FoxAuth Included in every install. |
| mTLS (RFC 8705) | ◐Client authentication and certificate-bound tokens, behind mTLS.enabled. | ◐Enterprise Plan with the Highly Regulated Identity add-on. | FoxAuth Ships with the server; there is no Enterprise add-on. |
| Dynamic client registration | ◐RFC 7591 and RFC 7592 management, each behind its own flag, any grant type. | ◐Disabled for all tenants by default; third-party clients only, authorization_code and refresh_token only, rate-limited. | FoxAuth Full RFC 7591 and 7592 without the restrictions. |
| IPSIE SL1 profile | ◐The provider side of the draft behind ipsieSl1.enabled, with a readiness check before you switch. Some requirements are still open, such as a second factor on request for people who sign in through another provider. | ?Not documented as an identity provider profile. Since July 2026 Auth0 reads session_expiry from upstream Okta and OIDC connections; adding the claim to Auth0’s own ID tokens takes a Post-Login Action. | FoxAuth Auth0 documents the relying-party half of SL1: it reads session_expiry from upstream connections and passes the claim on only through a Post-Login Action. FoxAuth issues session_expiry, auth_time and acr in every ID token and enforces SL1 provider rules behind one switch. What their docs say"Auth0 supports the session_expiry claim based on the Interoperability Profile for Secure Identity in the Enterprise (IPSIE) standard for Okta and OIDC Enterprise connections." and "The Post-Login Action is required to inject the session_expiry claim into the ID Token." |
| Administration and agents | |||
| Admin console and API | ●Built-in console and the same management API behind it. A change that could lock people out or break applications is previewed with counts before it applies. | ●The Dashboard, and a Management API that covers everything the Dashboard does. | Even Both give you a UI and an API for the same operations. What their docs say"anything that can be done through the Auth0 Dashboard can also be done through this API". |
| Administration by an AI agent (MCP) | ◐The server itself is the MCP resource: every console operation as a tool, bar a few withheld on purpose, the console's own checks and audit trail, two-call confirmation. Behind mcp.enabled. | ●A separate Auth0 MCP Server that calls the Management API, authenticated with the Device Authorization flow. | Even Both exist. Ours runs inside the server through the console's code path; theirs is a separate component in front of the API. What their docs sayThe Auth0 MCP Server "connects AI agents to your Auth0 tenant". |
| Token vault for AI agents | ●A person's token at Google, GitHub, Slack, Microsoft or any OIDC or OAuth 2.0 provider, through a standard RFC 8693 token exchange. An administrator lists the applications allowed per service, and the person allows each agent per account and can withdraw it. One refresh at a time, idle accounts kept alive, and a mail to the person when an account breaks. When the person must connect, allow or reconnect an account, the refusal carries a link the agent hands them, ready for an MCP URL elicitation, and the link works only for that person after their own sign-in. Free to self-host, and with no limit on FoxAuth Cloud during the beta. | ●Token Vault: connected accounts, and an exchange on an Auth0 grant type that names the provider with a connection parameter. The subject is the application’s refresh token, or an access token exchanged by a Custom API Client linked to the API. Consent is given per connection, at the provider; the person does not allow each agent. To connect an account, the application calls the My Account API and sends the person to a connect address that lasts five minutes. The pricing page lists Token Vault at 2 on Free, 3 on Essentials and Professional, 4 on Enterprise, and unlimited with the AI Agents add-on, which adds 50% to the base price. | FoxAuth FoxAuth takes the standard RFC 8693 request, asks the person about each agent, and does not limit connected services, on your servers or on FoxAuth Cloud during the beta. Auth0 counts Token Vault per plan, but runs it for you, as a managed service with an SLA. What their docs sayThe grant type is "urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token"; the AI Agents add-on unlocks "Unlimited Token Vault". |
| Sign-in in front of a web app through your proxy | ●An app with no sign-in of its own goes behind your Caddy, Traefik or nginx. The proxy asks the project about every request, a rule for each path names the groups that may open it, and the app receives who the person is in X-Auth-* headers. The console gives the proxy configuration. Nothing else to run, and on every plan. | ○No check endpoint for a proxy. Auth0 documents NGINX Plus, the commercial nginx, as the OpenID Connect relying party in front of an app, through its njs module, passing the sub and email claims on. | FoxAuth Auth0 needs NGINX Plus or a separate proxy service for this, and its guide sets no rule per path or per group. Here Caddy, Traefik or open-source nginx ask the server, and a rule for each path names the groups. What their docs sayThe Auth0 NGINX Plus quickstart says "you need to install the nginx-plus-module-njs module for NGINX Plus." |
| Token and per-tool scope checks at your proxy | ●Your Caddy, Traefik or nginx asks the project to check the bearer token for an API or an MCP server: signature, issuer, audience and lifetime. For an MCP server, a table in the console names the scopes each tool needs, and a client that lacks one is told every scope the tool needs. The project serves the protected resource metadata, so the server behind the proxy needs no auth code. On every plan. | ○No check endpoint for a proxy. Auth0's MCP guide has the MCP server verify each token itself. Scopes named after tools, such as tool:whoami, are defined on the API in Auth0, and the sample server decides in its own code which tools a person sees. | FoxAuth With Auth0 the token check and the rule for each tool live in the MCP server's own code. Here the proxy asks the authorization server, and the rule for each tool is a table in the console. What their docs sayThe Auth0 guide says "Your MCP server verifies this token" and defines the scopes `tool:whoami` and `tool:greet`. |
| Conditions at your proxy: network, hours, attribute, fresh sign-in | ●A rule for a path of an app behind your proxy, or an API whose tokens your proxy checks, can add conditions: only from or not from listed address ranges, opening hours in a chosen time zone, an attribute such as the department, and for an app a sign-in no older than N minutes. Conditions add up down the paths. The proxy passes the address it saw and shows a key of the project, so a browser cannot choose its own address. Members of chosen groups can be required for an API too. Edited and checked in the console, on every plan. | ○No check endpoint for a proxy. Conditions are code in a post-login Action. The Action can read the request's address, its GeoIP country and time zone, and the user's app_metadata, and it can deny the sign-in. It runs when a person signs in, not at your proxy. | FoxAuth With Auth0 each condition is code you write in an Action, checked at sign-in. Here a condition is a field on the rule for a path or an API, and your proxy has it checked on every request. What their docs sayThe post-login event object documents `event.request.ip` as "The originating IP address of the request." The API object says `api.access.deny(reason)` will "Mark the current login attempt as denied." |
| Tor, VPNs, hosting and countries at your proxy | ◐Behind networkFacts.enabled, off by default, on every plan. A rule for a path of an app behind your proxy, or an API your proxy checks, can keep out Tor, commercial VPNs, and hosting or clouds, and let in or keep out chosen countries. Each server downloads FoxTrust's signed snapshot, about 13 MB a day plus an update every hour, and looks people's addresses up only in its own copy. A matching address is refused or, on an app, asked to sign in again. A snapshot more than 26 hours old closes those paths until a fresh one loads. | ◐No check endpoint for a proxy. On an Enterprise plan a Tenant ACL rule can block requests to the Auth0 tenant by country, and Attack Protection customers can use Auth0's curated lists of Tor exit nodes, commercial VPNs, proxies, low-reputation addresses and iCloud Private Relay. It applies to requests Auth0 receives, not to the paths of your own app. | Different goals Auth0 knows more kinds of network and judges them at its own service, on an Enterprise plan. FoxAuth judges them on every request your proxy sends, path by path, on every plan, and can ask for a new sign-in instead of refusing. What their docs sayThe curated blocklists page lists auth0.tor, "IP addresses identified as active TOR exit nodes," and auth0.vpn, "IP addresses originating from commercial Virtual Private Network (VPN) providers." The Tenant ACL page says "Customers on an Enterprise plan can create 1 Tenant ACL." |
| A code or a recent sign-in for one API or MCP server | ●Any API or MCP server a project declares can require a sign-in with a code from an authenticator app, a sign-in no older than a time you choose from 1 hour to 14 days, or both. The authorization server holds it: the sign-in for that API asks for the code or a new sign-in, whatever the client asked for, and a refresh that falls short is refused without spending the refresh token, so the client starts a new sign-in. A token your proxy checks that falls short gets the RFC 9470 insufficient_user_authentication challenge. Introspection returns acr and auth_time. On every plan. | ●Step-up for an API is code: a post-login Action reads the requested scope or the client and calls api.multifactor.enable to ask for MFA, and the API checks the new token. No setting on an API requires MFA or a maximum sign-in age. | FoxAuth With Auth0, asking for MFA before one API is code you write in an Action, run at sign-in. Here it is a setting on the API, held at every token request, renewals included. What their docs sayThe step-up guide for APIs says "an Action is used to challenge the user to authenticate with MFA." |
| Conditions on one MCP tool: groups, network, hours | ●On an MCP server your proxy checks, one tool can carry its own groups, address ranges or FoxTrust's network facts, and hours. They are added to the API's own conditions and judged after the tool's scopes, and a call that fails them gets 403 with the reason. Once a tool has conditions, apps too old to say which tool they call are refused. The proxy reads the tool from the MCP 2026-07-28 request headers, so a stolen token in an app that lies about the tool is stopped only by an MCP server that checks the headers against the body. Check access in the console answers with the same decision the check runs. On every plan. | ●Auth0's quickstart models each tool in Auth0 FGA, a separate authorization service. A user, a role or a group can be granted a tool, and a grant can be time-limited and expire. The MCP server's own code asks FGA which tools a person may use. No condition on the network or on hours is documented. | Different goals Auth0 FGA can hold richer rules for each tool, but your MCP server asks it in its own code. Here the rule sits on the tool in the console, your proxy has it checked, and it can name a network or hours. What their docs sayThe FGA quickstart says "Users inherit permissions through group membership," "Access is automatically revoked when the time expires," and "The server queries FGA on each connection to determine available tools." |
| A person's sign-ins and refusals, on their page | ●On each person's Activity tab: every sign-in with the application, the method, the full address, the browser and system and, with FoxTrust's network facts on, the country and kind of network; every failed sign-in of an account that exists, with what the person saw; and every time an app behind your proxy or an API checked at it refused them or asked them to sign in again, with the reason. Kept 90 days, on by default and on every plan. Reading it is itself recorded in the audit trail. | ●Successful and failed logins are in the tenant logs with the IP address, the application, the connection, the user agent and the city and country of the address. A user's History tab shows the past 2 days, and a Locations tab shows a map. Logs are kept 1 day on Free, 5 on Essentials, 10 on Professional and 30 on Enterprise, and can be streamed to a SIEM from Essentials. | Different goals Auth0 records more about each sign-in, the city included, and streams its logs to your SIEM, but keeps them 1 to 30 days by plan and shows 2 days on the user's page. Here they are kept 90 days on every plan, with what your proxy refused, and there is no export yet. What their docs sayThe user details page says "The History tab displays a log of the user's account activity for the past 2 days." |
| Refusing password sign-ins from known password-guessing addresses | ◐Behind attackerList.enabled, off by default, on every plan. Each server downloads FoxTrust's signed list of addresses seen guessing passwords, today about 3,000 from third-party sources. Each project chooses Nothing, Count only (the default) or Refuse password sign-in, which refuses a listed address once it has failed 3 passwords on the server within an hour. A person who types the right password first signs in. A project can exempt up to 100 networks, each until a date if you like. | ●Suspicious IP Throttling, on by default for new tenants, blocks an address that tries many accounts: by default after 100 failed logins a day from one address, answered with HTTP 429. It has an IP AllowList of up to 100 entries and a monitoring-only mode. Adaptive MFA flags an untrusted IP from Auth0's own traffic data and asks for MFA rather than refusing; it needs an Enterprise plan with the Adaptive MFA add-on. | Different goals Auth0 throttles on its own, on by default, and its IP reputation leads to MFA on Enterprise. FoxAuth uses a published list that each project opts into, counts before it refuses, and gives a refused person a line to send you. What their docs sayThe Suspicious IP Throttling page offers the response "Limit high-velocity traffic targeting too many accounts". The Adaptive MFA page describes an IP address "known to be associated with suspicious behavior". |
| Licence and cost | |||
| Licence | ●FSL-1.1-ALv2, source-available; each release becomes Apache 2.0 after two years. | —A proprietary service; no source licence applies. | Different goals Source you can read and fork, versus a service agreement. |
| Pricing model | ●Free to self-host, every feature included, with no charge per user. Monthly active users are counted per project and per owning team, so an instance run for others can report them. FoxAuth Cloud is free during the beta, with no limit on monthly active users and up to ten projects; paid cloud plans are in development. Support by agreement. | ◐Free up to 25,000 monthly active users, then per-MAU plans; regulated-industry features need Enterprise and an add-on. | Different goals A cost that grows with infrastructure and ignores user count, versus a bill that grows with your users. What their docs sayPlans are "priced by Monthly Active Users (MAUs) and differ between B2C and B2B"; the free plan covers "Up to 25,000 monthly active users". |
Migrating users and clients from Auth0
Auth0 can export users and clients, and its Management API can list both. On the FoxAuth side, clients are created through the admin API or dynamic registration, and users are created in a project. Password hashes do not port, so plan a reset-on-first-login window.
Questions
What people ask before they switch
Can I migrate from Auth0 to FoxAuth?
Users, clients and their metadata port over; password hashes do not. FoxAuth stores end users in projects you provision through the admin console, the management API or, from an enterprise directory, SCIM 2.0, and OAuth clients can be created there or by dynamic client registration. What does not port is anything written in Auth0's own extension model: Rules, Actions and Hooks have no equivalent and are rewritten as override seams, of which FoxAuth exposes 31, each resolved at call time. Budget the migration by how much logic lives in Actions; the user count has little to do with it.
Does FoxAuth support social logins like Google and GitHub?
Google, Microsoft, Apple and GitHub are recognised by name: FoxAuth tells you what to do at the provider, shows you the exact callback address to register, and asks only for the values that provider issues: two for Google and GitHub, three for Microsoft, four for Apple. Any other provider speaking OpenID Connect can be configured by hand, per project. Two caveats before you compare. You still register the application at the provider yourself, because none of them lets a third party do it for you. And four recognised providers is not the connection catalogue Auth0 ships, which runs to dozens and includes SAML and AD/LDAP enterprise connections FoxAuth does not speak. Microsoft Entra ID and Okta can instead provision users and groups into FoxAuth over SCIM.
Is FoxAuth cheaper than Auth0?
FoxAuth's bill has a different shape from Auth0's, and it is not uniformly smaller. FoxAuth is free to self-host under FSL-1.1-ALv2; what it costs you is a database, a container and the engineering time to keep them healthy, so the cost grows with infrastructure and is indifferent to monthly active users. FoxAuth Cloud is also free during the beta, with no limit on monthly active users and no SLA yet. Auth0 bills per monthly active user. At small scale Auth0 is usually the cheaper option. At large scale Auth0's bill keeps growing with every user, while FoxAuth's does not.
Do I get FAPI, DPoP and PAR without an enterprise plan?
FoxAuth implements DPoP (RFC 9449), PAR (RFC 9126), mTLS (RFC 8705), CIBA, RAR (RFC 9396) and JARM, and each one is a feature flag on the instance you run. There is no plan tier and no add-on. All of them ship switched off and are turned on per deployment. FAPI profile behaviours sit behind fapi.enabled the same way, without a conformance certification.
Sources
What we read
- https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow-with-pkce
- https://auth0.com/docs/secure/highly-regulated-identity
- https://auth0.com/docs/get-started/applications/configure-par
- https://auth0.com/docs/secure/sender-constraining/configure-sender-constraining
- https://auth0.com/docs/secure/sender-constraining/demonstrating-proof-of-possession-dpop
- https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-initiated-backchannel-authentication-flow
- https://auth0.com/docs/get-started/applications/dynamic-client-registration
- https://auth0.com/docs/deploy-monitor/deploy-private-cloud
- https://auth0.com/docs/api/management/v2
- https://auth0.com/docs/authenticate/enterprise-connections/session-expiry-enterprise-connections
- https://auth0.com/changelog
- https://auth0.com/docs/get-started/auth0-mcp-server
- https://auth0.com/pricing
- https://auth0.com/docs/secure/call-apis-on-users-behalf/token-vault/access-token-exchange-with-token-vault
- https://auth0.com/docs/quickstart/webapp/nginx-plus
- https://auth0.com/ai/docs/mcp/get-started/authorization-for-your-mcp-server
- https://auth0.com/docs/secure/attack-protection/suspicious-ip-throttling
- https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa
- https://auth0.com/docs/secure/tenant-access-control-list
- https://auth0.com/docs/secure/tenant-access-control-list/use-curated-blocklists
- https://auth0.com/docs/secure/multi-factor-authentication/step-up-authentication/configure-step-up-authentication-for-apis
- https://auth0.com/ai/docs/mcp/get-started/secure-mcp-server-with-auth0-fga
- https://auth0.com/docs/manage-users/user-accounts/view-user-details
- https://auth0.com/docs/deploy-monitor/logs/log-data-retention
- https://auth0.com/docs/customize/log-streams