CasdoorSelf-hosted identity provider with SSO and agent MCP gateway
KeycloakIdentity and access management for applications and services
Casdoor vs Keycloak
How Casdoor and Keycloak compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Amazon Cognito, Auth0 and Okta.
At a glance
- Keycloak has more GitHub stars (38.1k vs 15k, about 3× as many).
- Both are actively maintained (last commits 2 days ago and today).
- Both use the Apache-2.0 license.
- Both can be self-hosted.
- Keycloak is the older project (repository started 2013; Casdoor in 2020).
Side by side
| Casdoor | Keycloak | |
|---|---|---|
| GitHub stars | ★ 14,972 | ★ 38,093 |
| Forks | 1,937 | 9,258 |
| Last commit | 2 days ago | today |
| Latest version | v4.32.0 | 26.8.2 |
| Repository started | October 2020 | July 2013 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Docker, Web | Docker |
| Main language | Go | Java |
| Alternative to | Amazon Cognito, Auth0, Okta, Ping Identity, Stytch | Amazon Cognito, Auth0, Clerk, Firebase Authentication, Microsoft Entra ID, Okta +3 |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Casdoor
Casdoor is an IAM server with a web console for users, apps, and providers. It issues tokens via OAuth, OIDC, SAML, CAS, LDAP, SCIM, and WebAuthn, and exposes an MCP gateway for AI tooling
Key features
- OAuth 2.0 and OIDC authorization server
- SAML 2.0 and CAS enterprise SSO
- LDAP directory sync or LDAP service
- SCIM 2.0 provisioning
- WebAuthn and MFA methods
- MCP gateway for agents
Keycloak
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.
Key features
- Single sign-on across applications
- OpenID Connect, OAuth 2.0, and SAML
- Social login and identity brokering
- LDAP and Active Directory federation
- Admin and account management consoles
- Fine-grained authorization services