15 open-source alternatives ranked by real activity

Open-source Microsoft Entra ID alternatives

A curated, ranked list of the 15 best open-source alternatives to Microsoft Entra ID.

The best open-source alternative to Microsoft Entra ID is Keycloak. If that doesn't suit you, other good options are Authelia, Authentik, Casdoor and ZITADEL.

Commercial alternatives to Microsoft Entra ID include OneLogin, IBM Verify, Ping Identity and JumpCloud. See all 27.

Microsoft Entra ID alternatives are mainly auth & identity tools, but some are also security tools. 14 of them shipped code in the last 30 days, 15 can be self-hosted, and 10 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

Keycloak

Keycloak is an open-source identity and access management server that adds single sign-on, user management and authorization to applications.

GitHub stars
38k
Last commit
yesterday
Latest release
26.8.2
Licence
Apache-2.0
Self-hosted
Yes
keycloak.orgKeycloak homepage screenshot

Keycloak is an open-source identity and access management server. It lets application teams add authentication and secure services without building their own login system, since Keycloak handles storing users and authenticating them. The project is written in Java, released under the Apache-2.0 license and governed under the Cloud Native Computing Foundation code of conduct.

Keycloak supports standard protocols such as OpenID Connect and SAML, and offers user federation, strong authentication, user management and fine-grained authorization. You can run it from the downloadable distribution using a start-dev command, or use the official Docker image published on Quay for containers and Kubernetes setups. The project provides documentation, a user mailing list and community channels for help, along with guidance for building and testing from source.

Key features

  • Single sign-on with OpenID Connect and SAML
  • User federation with external directories
  • Strong and multi-step authentication options
  • Central user and account management
  • Fine-grained authorization policies
  • Docker image and standalone distribution

Pricing: Free and open source under the Apache-2.0 license; you host and operate it yourself.

Read more about KeycloakWebsiteGitHub#1 Microsoft Entra ID alternative

Authelia

A self-hosted single sign-on and multi-factor authentication portal that protects web applications, certified for OpenID Connect and ready for post-quantum cryptography.

GitHub stars
30k
Last commit
yesterday
Latest release
v4.39.28
Licence
Apache-2.0
Self-hosted
Yes
authelia.comAuthelia homepage screenshot

Authelia is an open-source authentication and authorization server that provides single sign-on and multi-factor authentication for web applications. It sits in front of your services, usually alongside a reverse proxy, so users sign in once at a portal and are checked against policies before reaching an app.

Supported factors and backends include TOTP, push notifications, two-factor methods and LDAP, according to its topics, and it is described as OpenID Certified and ready for post-quantum cryptography. It is written in Go and runs well as a small container, with documentation for Docker and Kubernetes deployments. Self-hosters often use it to add a consistent login and second factor to tools that have weak or no authentication of their own.

Authelia is licensed under Apache-2.0. As an authentication component, it is meant to be run on your own infrastructure, and it suits home labs, small organizations and teams wanting a lightweight identity layer without a heavier enterprise identity platform.

Key features

  • Single sign-on portal for web apps
  • Multi-factor authentication including TOTP
  • Push notification verification
  • LDAP user backend support
  • OpenID Connect support
  • Docker and Kubernetes deployment

Pricing: Free and open source under the Apache-2.0 license.

Read more about AutheliaWebsiteGitHub#2 Microsoft Entra ID alternative

Authentik

An open-source identity provider for single sign-on that supports SAML, OAuth2 and OIDC, LDAP and RADIUS, built for self-hosting from home labs to large clusters.

GitHub stars
26k
Last commit
yesterday
Latest release
version/2026.8.5
Self-hosted
Yes
goauthentik.ioAuthentik homepage screenshot

authentik is an open-source Identity Provider for modern single sign-on. It supports SAML, OAuth2 and OpenID Connect, LDAP, RADIUS and more, and is designed for self-hosting at any scale, from a small lab to production clusters. A reverse-proxy mode also lets it protect applications that lack native SSO support.

The project positions its enterprise offering as a way for organizations to replace incumbent identity providers (Okta, Auth0, Entra ID or Ping Identity) in large-scale identity management. For installation, Docker Compose is recommended for small and test setups, a Helm chart for Kubernetes suits larger setups, and official templates exist for AWS CloudFormation and a one-click DigitalOcean Marketplace app.

The codebase is mostly Python with Kubernetes tooling, and the license is listed as 'Other' on GitHub because it mixes open-source and enterprise components, so check which features fall under which terms. authentik is a common choice for self-hosters and companies who want to centralize logins across internal tools without paying per-user fees to a hosted identity vendor.

Key features

  • SAML and OAuth2/OIDC provider
  • LDAP and RADIUS support
  • Reverse-proxy authentication for apps
  • Docker Compose and Helm chart installs
  • AWS CloudFormation and DigitalOcean templates
  • Enterprise edition for large deployments

Pricing: The open-source edition is free. Enterprise costs $5 per user per month billed annually, plus $0.02 per external user; Enterprise Plus starts at $20k per year. No hosted version is offered.

Read more about AuthentikWebsiteGitHub#3 Microsoft Entra ID alternative

Casdoor

An open-source identity and access management platform written in Go, providing single sign-on, OAuth, OIDC, SAML, MFA and a web console for users and applications.

GitHub stars
15k
Last commit
2 days ago
Latest release
v4.27.1
Licence
Apache-2.0
Self-hosted
Yes
casdoor.aiCasdoor homepage screenshot

Casdoor is a self-hosted identity and access management platform with a web console. It acts as a single sign-on and authentication server, so applications can delegate login to it instead of implementing their own user management, sessions and password handling.

Supported protocols include OIDC, OAuth 2.0, SAML 2.0, LDAP, CAS and SCIM 2.0, alongside WebAuthn, TOTP and MCP, and it can connect to identity providers such as Google Workspace, Microsoft Entra ID and GitHub. Sign-in options include passwords, email or SMS codes, WebAuthn and Face ID, plus any social providers you enable. The admin console covers users, tokens, organizations, providers and applications, and settings change without a redeploy or config file.

Casdoor is written in Go and licensed under Apache-2.0. A quick trial runs on SQLite with sample data and needs no separate database or config file. Its newer positioning emphasizes AI agents, with an MCP and agent gateway for LLM tooling, and hosted demo instances are available for trying it before installing.

Key features

  • Single sign-on and authentication server
  • OIDC, OAuth 2.0 and SAML support
  • LDAP, CAS and SCIM integration
  • WebAuthn, TOTP and MFA
  • Social and enterprise identity providers
  • Web console for users and organizations
  • MCP and agent gateway features

Pricing: Free and open source under the Apache-2.0 licence.

Read more about CasdoorWebsiteGitHub#4 Microsoft Entra ID alternative

ZITADEL

An open-source identity and access management platform with SSO, MFA, passkeys, OIDC, SAML, SCIM and native multi-tenancy, available self-hosted or as a cloud service.

GitHub stars
16k
Last commit
yesterday
Latest release
v4.20.2
Licence
AGPL-3.0
Self-hosted
Yes
Hosted version
Available
zitadel.comZITADEL homepage screenshot

ZITADEL is an identity and access management platform, open source, for teams that need more than basic login. It targets SaaS products, B2B platforms and self-hosted IAM stacks, and bundles single sign-on, multi-factor authentication, passkeys, OIDC, SAML and SCIM in an API-first design, with an emphasis on a mature multi-tenancy model.

A comparison table in the README sets it against FusionAuth, Keycloak and Auth0 or Okta on points such as open-source status, self-hosting, infrastructure-level tenants, native B2B organizations and a comprehensive event-stream audit trail. Topics list standards and features including OAuth 2, OpenID Connect, FIDO2, 2FA and passkeys. The positioning is that you can own the identity layer without vendor lock-in while still getting a polished product.

ZITADEL is written in Go and licensed under AGPL-3.0, with a website, chat, docs and blog. You can run it yourself or use the vendor's managed cloud. It suits developers and security teams building multi-tenant applications who want a self-hostable alternative to commercial identity providers.

Key features

  • Single sign-on with OIDC and SAML
  • Multi-factor authentication and passkeys
  • SCIM user provisioning support
  • Native multi-tenancy with B2B organizations
  • Event-stream audit trail
  • API-first, self-hostable design

Pricing: Free cloud plan for 100 daily active users. Pro costs $100 per month and includes 25,000 daily active users; Enterprise is custom and can run on your own infrastructure.

Read more about ZITADELWebsiteGitHub#5 Microsoft Entra ID alternative

Dex

Federated OpenID Connect and OAuth 2.0 identity provider that fronts LDAP, SAML and social logins through pluggable connectors.

GitHub stars
11k
Last commit
yesterday
Latest release
v2.46.1
Licence
Apache-2.0
Self-hosted
Yes
dexidp.ioDex homepage screenshot

Dex is an identity service that uses OpenID Connect to handle authentication for other applications. Rather than storing users itself, it acts as a portal to other identity providers through connectors, so apps only need to implement one authentication flow and let Dex deal with each backend's protocol.

Connectors let it defer login to LDAP servers, SAML providers, and established providers such as GitHub, Google and Active Directory. Its primary output is the ID Token, a JSON Web Token signed by Dex that states which client logged the user in, when the token expires and who the user is. Because these tokens follow standard claims, other services such as Kubernetes and AWS STS can consume them.

Dex runs natively on Kubernetes using Custom Resource Definitions and can drive API server authentication through the OpenID Connect plugin, with clients like kubelogin and kubectl logging users in through any supported provider. The project is written in Go, licensed under Apache-2.0, and you deploy and operate it yourself.

Key features

  • OpenID Connect and OAuth 2.0 provider
  • Pluggable connectors for LDAP, SAML and GitHub
  • Signed ID Tokens as JSON Web Tokens
  • Runs on Kubernetes with custom resources
  • Kubernetes API server authentication
  • Works with kubelogin and kubectl

Pricing: Free and open source under the Apache-2.0 license.

Read more about DexWebsiteGitHub#6 Microsoft Entra ID alternative

Rauthy

Rauthy is a Rust identity provider for single sign-on, supporting OpenID Connect, OAuth 2 and PAM, with an emphasis on passkeys and secure defaults.

GitHub stars
1.4k
Last commit
yesterday
Latest release
v0.37.2
Licence
Apache-2.0
Self-hosted
Yes
sebadob.github.ioRauthy homepage screenshot

Rauthy is an Identity Provider that handles OpenID Connect, OAuth 2 and PAM logins. It is written in Rust and aims to be simple to set up and operate, with secure defaults and many configuration options for people who need flexibility. Single sign-on for IoT devices and headless command-line tools is covered as well.

By default it runs on Hiqlite and needs no external database, with Postgres available as an alternative. The documentation positions it as an SSO solution comparable to Keycloak but with a smaller resource footprint, and says it can run on a Raspberry Pi. It includes high availability, client branding, UI translation, an admin UI, events and auditing.

Login options centre on FIDO 2 and WebAuthn: either a password plus a security key, or passkey-only accounts that need just an e-mail address. The project received an independent security audit by Radically Open Security as part of NGI Zero Core funding, with findings addressed in v0.32.1.

Key features

  • OpenID Connect, OAuth 2 and PAM identity provider
  • Passkey-only accounts without a password
  • Runs without an external database by default
  • High availability, branding, translations, admin UI, auditing
  • Single sign-on for IoT and headless CLI tools
  • New OIDC clients use ed25519 and S256 PKCE
Read more about RauthyWebsiteGitHub#7 Microsoft Entra ID alternative

Kanidm

Kanidm is a Rust identity management server offering OIDC, LDAP, RADIUS, WebAuthn and SSH key authentication for home labs through organizations.

GitHub stars
5.6k
Last commit
today
Latest release
v1.12.1
Licence
MPL-2.0
Self-hosted
Yes
kanidm.comKanidm homepage screenshot

Kanidm is an identity management platform written in Rust. Other applications and services can offload authentication and identity storage to it, and the project aims to be a complete identity provider so that you should not need to add components such as Keycloak next to it.

It covers a broad set of protocols and features: OpenID Connect, LDAP, RADIUS, SCIM, WebAuthn passkeys and SSH key authentication, according to the repository topics. To keep it manageable, the design favors secure defaults, minimal configuration and components that repair themselves, so the same system can serve small home labs, families and small businesses as well as larger deployments.

Kanidm is licensed under MPL-2.0 and runs on your own servers, with documentation and a community around the project. It suits administrators who want a single, secure place to manage users, groups and logins for their services without operating a heavyweight identity stack.

Key features

  • OpenID Connect identity provider
  • LDAP and RADIUS interfaces
  • WebAuthn and passkey authentication
  • SSH key authentication support
  • SCIM user provisioning support
  • Strict secure defaults, simple configuration

Pricing: Free and open source under the MPL-2.0 license.

Read more about KanidmWebsiteGitHub#8 Microsoft Entra ID alternative

Pomerium

An identity and context-aware access proxy written in Go that secures internal apps and services without a corporate VPN.

GitHub stars
5.1k
Last commit
yesterday
Latest release
v0.34.1
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
pomerium.comPomerium homepage screenshot

Pomerium is an identity and context-aware reverse proxy that makes secure, clientless connections to internal web apps and other services. The goal is to protect internal resources without asking users to connect through a corporate VPN.

According to the project, clientless access makes it easier to adopt, running tunnel-free and close to your apps and services makes it faster, and verifying each action before it executes makes it safer. Context-aware policies can draw on data from several sources, so access decisions can reflect your organization's own needs. Repository topics point to zero-trust, BeyondCorp-style, identity-aware proxy and IAM use cases.

Pomerium is written in Go and licensed under Apache-2.0. Teams that want a hosted control plane and a management GUI can look at Pomerium Zero, while the open-source proxy can be run on your own infrastructure. Documentation and tutorials are available on pomerium.com.

Key features

  • Identity-aware reverse proxy
  • Clientless access to internal apps
  • Per-request verification of every action
  • Context-aware access policies
  • Tunnel-free deployment near your services
  • Hosted control plane via Pomerium Zero

Pricing: Free Personal plan. Business costs $7 per user per month billed annually, with a free trial; Enterprise for fully self-hosted deployments is quoted.

Read more about PomeriumWebsiteGitHub#9 Microsoft Entra ID alternative

MaxKey

Java identity and access management product offering single sign-on with OAuth 2, OpenID Connect, SAML, CAS, JWT, and SCIM, plus RBAC and user lifecycle management.

GitHub stars
2k
Last commit
today
Latest release
4.2.0
Licence
Apache-2.0
Self-hosted
Yes
maxkey.topMaxKey homepage screenshot

MaxKey, from the Dromara community, is an IAM and IDaaS product written in Java and released under the Apache-2.0 license. It provides single sign-on, identity management, access management, RBAC-based permission control, and resource management. The name is a homophone of a phrase about a master key that unlocks enterprise security needs, according to the README.

It supports standard protocols including OAuth 2.x and OpenID Connect, SAML 2.0, CAS, JWT, and SCIM, and its topics also list LDAP, Active Directory, Kerberos, multi-factor authentication, TOTP, and multi-tenancy. Features focus on user lifecycle management and compliance, and the project presents itself as open, secure, and self-controlled. Documentation is in English and Chinese.

MaxKey is aimed at enterprises, particularly in Chinese-speaking markets, that need a self-hosted alternative to commercial identity platforms. Teams should confirm industry claims in the README against their own requirements.

Key features

  • Single sign-on across applications
  • OAuth 2.x, OpenID Connect, SAML 2.0, and CAS
  • SCIM provisioning and user lifecycle management
  • RBAC permission management
  • LDAP, Active Directory, and MFA integration
  • Multi-tenancy support

Pricing: Free and open source under the Apache-2.0 license.

Read more about MaxKeyWebsiteGitHub#10 Microsoft Entra ID alternative

5 more Microsoft Entra ID alternatives

Commercial Microsoft Entra ID alternatives

Hosted, closed-source products that compete with Microsoft Entra ID. Showing 12 of 27.

See every Microsoft Entra ID alternative on its tool page

Microsoft Entra ID alternatives: questions

What is the best open-source alternative to Microsoft Entra ID?
Keycloak is the top-ranked open-source alternative to Microsoft Entra ID on Enlisted: Keycloak is an open-source identity and access management server that adds single sign-on, user management and authorization to applications. Other strong options are Authelia, Authentik, Casdoor and ZITADEL.
What are the best commercial alternatives to Microsoft Entra ID?
OneLogin, IBM Verify, Ping Identity, JumpCloud and Duo Security are among the hosted, closed-source alternatives to Microsoft Entra ID listed on Enlisted, which lists 27 in total. Compare their pricing and features on each tool page.
Are these Microsoft Entra ID alternatives free?
All 15 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 4 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Microsoft Entra ID alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 14 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all