qmetrics.net

Best Open-Source Alternatives to Microsoft Entra ID

Microsoft Entra ID by Microsoft is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Microsoft Entra ID is Keycloak, with 38.1k GitHub stars. Other open-source alternatives to Microsoft Entra ID are authentik, Ory and Zitadel. Most Microsoft Entra ID alternatives here are Identity & Access Management (IAM) tools. The first 1 say in their own README or website that they can replace Microsoft Entra ID (the quote is shown under each one); the other 3 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

authentik

Self-hosted identity provider for SSO protocols

authentik centralizes authentication with SAML, OAuth2, OIDC, LDAP, RADIUS, and related flows. It targets small labs through production clusters you deploy yourself.

★ 26.5k⟳ todayMIT · open core
Open Source Alternative to:Amazon CognitoAuth0Clerk+4
“Our enterprise offering is available for organizations to securely replace existing IdPs such as Okta, Auth0, Entra ID, and Ping Identity for robust, large-scale identity management.”

Also does the same job as Microsoft Entra ID

These projects don't call themselves a Microsoft Entra ID alternative, but two independent checks of their own description found they do the same main job.

Keycloak

Identity and access management for applications and services

Keycloak adds authentication and single sign-on to applications so they do not store or verify users themselves. It supports standard protocols and central admin tools.

★ 38.1k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0Clerk+6
“Keycloak - the open source identity and access management solution. Add single-sign-on and authentication to applications and secure services with minimum effort.”

Ory

OpenID Connect and OAuth2 authorization server

Ory Hydra is an OAuth 2.0 and OpenID Connect server that issues and validates tokens and orchestrates login and consent flows. It connects to existing identity systems through a separate login and consent application.

★ 17.7k⟳ 4 months agoApache-2.0
Open Source Alternative to:Amazon CognitoMicrosoft Entra IDOkta+3
“Ory delivers identity and access management (IAM) for applications, enterprises, and AI agents. Cloud-native, API-first, and self-hostable.”

Zitadel

Multi-tenant API-first open-source identity and access management platform

ZITADEL is an open-source identity and access management platform with SSO, MFA, passkeys, OIDC, SAML, and SCIM. You can self-host it or use the hosted cloud service with the same codebase.

★ 15.7k⟳ todayAGPL-3.0
Open Source Alternative to:Amazon CognitoAuth0Clerk+6
“Whether you're securing a SaaS product, building a B2B platform, or self-hosting a production IAM stack — ZITADEL gives you everything out of the box: SSO, MFA, Passkeys, OIDC, SAML, SCIM, and a battle-tested multi-tenancy model.”

Compare Microsoft Entra ID alternatives

Questions about Microsoft Entra ID alternatives

Is there an open-source alternative to Microsoft Entra ID?

Yes. 4 open-source projects can replace Microsoft Entra ID, for example Keycloak, authentik and Ory. 1 of them says so in its own documentation; the other 3 do the same job.

What is the best open-source alternative to Microsoft Entra ID?

Keycloak (38.1k GitHub stars) is the most popular open-source alternative to Microsoft Entra ID on GitHub. The best choice depends on your needs: compare them side by side, for example Keycloak vs authentik.

Are the open-source alternatives to Microsoft Entra ID free?

All of the 4 projects listed here are free to use under an open-source license, with no license fee: 3 permissive (such as Apache-2.0), 1 copyleft (such as AGPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Auth0

Okta

10 open-source alternatives

Amazon Cognito

Amazon Web Services

8 open-source alternatives

Stytch

Stytch

8 open-source alternatives

Clerk

Clerk

7 open-source alternatives

Microsoft Copilot

Microsoft

7 open-source alternatives

Microsoft Forms

Microsoft

7 open-source alternatives