Top 2 Self-Hosted Open-Source Alternatives to Auth0 / Clerk (2026)
Auth0 / Clerk costs B2B Essentials ($130–$240/mo + MAU overages) ($130/mo or $1,560/year for 10 seats). Switch to one of the verified open-source Docker replacements below.
authentik
Open-source Identity Provider supporting OAuth2, OIDC, SAML, LDAP, Passkeys & application forward-auth
- ✓Put SSO in front of any self-hosted app with Caddy/Traefik
- ✓Unlimited MAUs & Enterprise SAML for $0
- ✓Visual flow designer for signup & MFA
ghcr.io/goauthentik/server:latest
TCO & Docker Compose →
Keycloak
Battle-tested CNCF open-source identity and access management for modern applications and services
- ✓Industry standard OIDC & SAML 2.0
- ✓Social logins, Passkeys & Kerberos/LDAP
- ✓Multi-tenant realm isolation
quay.io/keycloak/keycloak:latest
TCO & Docker Compose →