What are self-hosted alternatives to Okta or Auth0?

Keycloak, ZITADEL and authentik have documented self-hosted identity deployments. Compare protocols, integrations, user lifecycle and edition scope. Plan high availability, recovery, administrator access and staged upgrades for this critical application dependency.

Test identity as a production dependency

  • Validate required federation protocols, application integrations, account lifecycle, group mapping and administrative roles.
  • Exercise high availability, backups, restore, key rotation, emergency administrator access and upgrade rollback.
  • Identify mail, SMS, social login, external directories and other connected services. A self-hosted identity server does not relocate these dependencies.

Verify both entry and removal of access

Test browser and API authentication separately, including disabled users, revoked sessions and unavailable upstream services. Check provisioning direction and supported SCIM operations rather than assuming they follow from SSO. Stage identity changes with the applications that depend on them.

Explore the reviewed listings

Illustrative candidates, shown alphabetically. Read each listing’s sources, edition limits and operating responsibilities; this is not a ranking or a feature-parity claim.

Sources and further guidance

Answer reviewed 2026-11-21. Check the exact edition, configuration and current vendor terms before deciding.

All 50 questions · Deployment guide · Build a shortlist