On this pageCustomer login is a different job from workforce SSO
Auth0, now part of Okta, made customer login something you could rent instead of build. Teams look for alternatives for three recurring reasons: costs that climb with monthly active users, the wish to keep user records in a region and infrastructure they control, and limits on how far the hosted experience can be customized. The market now offers three kinds of replacement: identity servers you run yourself, authentication libraries that live inside your app, and other managed services. Which one fits depends less on feature lists than on whether you sell to consumers or to companies.
Customer login is a different job from workforce SSO
Workforce SSO lets your own staff sign in to internal tools. Customer identity and access management (CIAM) serves people you do not control, at a scale you cannot predict:
- self-service sign-up, email verification and account recovery;
- social login and passwordless options such as passkeys and email codes;
- a login page that looks like your product, sometimes branded per customer;
- for B2B products, organizations: invitations, roles per organization, and SSO with each customer's own identity provider over SAML or OIDC;
- SDKs for web and mobile, and machine-to-machine tokens for APIs;
- protection against fake sign-ups and credential stuffing.
If you only need internal SSO, the comparison of Keycloak, authentik, ZITADEL and Authelia is the better starting point.
The options at a glance
| Option | Model | License | Strongest at | Think about |
|---|---|---|---|---|
| Keycloak | Identity server, self-hosted | Apache-2.0 | Standards coverage, federation, identity brokering | Heavier to run; login UI changes mean editing themes |
| ZITADEL | Identity server, cloud or self-hosted | AGPL-3.0 core | Built-in multi-tenancy for B2B, event-based audit trail | AGPL terms if you modify and serve it |
| Logto | Identity server, cloud or self-hosted | MPL-2.0 | Organizations with RBAC, enterprise SSO, ready sign-in experience | Node.js service plus PostgreSQL to operate |
| FusionAuth | Identity server, cloud or self-hosted | Commercial, with a free Community edition | Broad feature set in one product | Not open source; advanced features on paid plans |
| Ory (Kratos, Hydra, Keto) | Headless components | Apache-2.0 | API-first identity, OAuth 2.0 server, permissions | You build and host the UI yourself |
| SuperTokens | Framework plus core service | Apache-2.0 core, some features under a separate license | Prebuilt recipes for common flows, backend SDKs | Some features need a license when self-hosted |
| Better Auth | TypeScript library | MIT | Auth inside your codebase, plugins for organizations and 2FA | TypeScript and JavaScript stacks only |
| Supabase Auth | Part of Supabase | MIT | Apps built on Supabase and Postgres row-level security | Most useful with the rest of Supabase |
| Managed services | Clerk, WorkOS, Amazon Cognito, Firebase Authentication, Microsoft Entra External ID | Commercial | No servers to run | Usage-based pricing, provider lock-in |
A note on Microsoft: Azure AD B2C stopped accepting new customers on May 1, 2025, and Microsoft directs new projects to Entra External ID.
Five questions that narrow the list
- B2C or B2B? Consumer apps care about sign-up conversion, social login and bot protection. B2B products need organizations, per-organization SSO and often SCIM provisioning. ZITADEL, Logto, Keycloak's organizations feature and WorkOS are built with the second case in mind.
- Who owns the login screens? Logto, ZITADEL, FusionAuth and Keycloak ship hosted pages you brand. Ory and Better Auth expect you to build the screens, which gives full control and more work.
- What is your stack? A TypeScript monolith may be happiest with a library like Better Auth. A Supabase project gets Supabase Auth almost for free. Polyglot backends benefit from a standalone server that speaks plain OIDC.
- How will users move over? Auth0 hashes passwords with bcrypt, and hash exports are requested from Auth0 rather than downloaded by API. If the new system can import those hashes, users keep their passwords. If not, plan a lazy migration that verifies each user against the old system at their next login.
- Can you run it at product uptime? When login is down, your product is down. Self-hosting is a commitment to monitoring, patching and backups, not a one-time install.
What self-hosting actually involves
- Availability. Run at least two instances behind a load balancer, with a database you can restore quickly. Alert on failed logins and latency, not just on process health.
- Patching. Identity servers are high-value targets. Subscribe to the project's security advisories and keep upgrades on a schedule.
- Email and SMS. Verification and one-time codes need a reliable sending service. SMS codes add cost and attract toll-fraud abuse, which is one more reason to prefer passkeys and email links.
- Abuse controls. Rate-limit sign-up and login endpoints, add a bot challenge to registration, and check new passwords against a list of breached ones, as NIST's SP 800-63B now requires.
- Data location. Self-hosting decides where user records live. Pick the region deliberately: CloudSat has European regions such as Frankfurt (FRA1), Amsterdam (AMS1) and Bern (BRN1), and offers Keycloak and Supabase as one-click apps.
Compare costs by their drivers
Price lists change too often to compare here, but the cost drivers are stable, and they are what you should model for the next three years:
- Monthly active users. Most managed services charge by them, often in tiers. Model your growth, not today's numbers.
- B2B features. Organizations, enterprise SSO connections and SCIM are frequently reserved for higher plans or priced per connection.
- Machine-to-machine tokens. Some plans cap them, which matters for API-heavy products.
- Self-hosting. No per-user fee, but servers, a replicated database, monitoring and the engineering hours for upgrades and incidents. Those hours are the line item teams most often forget.
A migration that keeps logins working
- Inventory what Auth0 does for you: applications, connections, social providers, Actions or Rules that add claims, and the token lifetimes your apps rely on.
- Build the new provider in parallel and reproduce the same claims and scopes, so applications see identical tokens.
- Move users by bulk import with password hashes, or by lazy migration on next login.
- Switch applications one at a time. For an OIDC app this is mostly a new issuer URL, client ID and secret. Keep Auth0 running as the fallback.
- Retire Auth0 only after the longest refresh-token lifetime has passed and the old tenant shows no traffic.
FAQ
Is Keycloak a good Auth0 alternative?
For standards support and federation, yes, and it costs nothing to license. It is less polished for consumer-facing sign-up flows, and customizing its screens takes more effort than with Logto or a hosted service.
Which option is quickest to get running?
A managed service, or the cloud tier of Logto or ZITADEL, gets you a working login in an afternoon. Among self-hosted choices, Logto and ZITADEL ship a ready sign-in experience; Better Auth is quickest if your app is already written in TypeScript.
Do B2B customers really ask for SAML?
Often, yes. Larger customers want their staff to sign in through their own identity provider, and many of those still prefer SAML. Choose a system that supports both SAML and OIDC for enterprise connections.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




