5 open source alternatives to Auth0 & Okta

Identity providers charge per monthly active user, which hurts consumer apps. These open source identity providers support OIDC, SAML, SSO and MFA on your own infrastructure.

5 open source alternativesOfficial website
#1

keycloak/keycloak

Open Source Identity and Access Management For Modern Applications and Services

Why it works The de facto open source Okta replacement.

38.1K·Apache-2.0·Java
#2

goauthentik/authentik

The authentication glue you need.

Why it works Modern UI and very flexible flows.

26.5K·Python
#3

logto-io/logto

🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.

Why it works Auth0-like developer experience, open source.

15K·MPL-2.0·TypeScript
#4

zitadel/zitadel

ZITADEL - Identity infrastructure, simplified for you.

Why it works Strong choice for B2B SaaS with many organizations.

15.7K·AGPL-3.0·Go
#5

supertokens/supertokens-core

Open source alternative to Auth0 / Firebase Auth / AWS Cognito

Why it works Library-style auth you embed in your own app.

15.3K·Java

Compare at a glance

RepositoryStarsLicenseLanguageSelf-hostedLast push
keycloak/keycloak38.1KApache-2.0Java–2 days ago
goauthentik/authentik26.5K–Python–about 22 hours ago
logto-io/logto15KMPL-2.0TypeScript–about 21 hours ago
zitadel/zitadel15.7KAGPL-3.0Go–about 23 hours ago
supertokens/supertokens-core15.3K–Java–3 days ago

Stats are refreshed from GitHub every hour. Always check the repository before adopting a project.

More Security alternatives

Stop overpaying for software

Browse the hand-picked open source alternatives, or see which new GitHub repos are gaining stars this week.