CasdoorSelf-hosted identity provider with SSO and agent MCP gateway
dexFederated OpenID Connect and OAuth identity provider
Casdoor vs dex
How Casdoor and dex compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Amazon Cognito, Clerk and Microsoft Entra ID.
At a glance
- Casdoor has more GitHub stars (15k vs 11.3k).
- Both are actively maintained (last commits today and 2 days ago).
- Both use the Apache-2.0 license.
- Both can be self-hosted.
- dex is the older project (repository started 2015; Casdoor in 2020).
Side by side
| Casdoor | dex | |
|---|---|---|
| GitHub stars | ★ 15,025 +71 in 9 days | ★ 11,293 +11 in 7 days |
| Forks | 1,942 | 2,052 |
| Last commit | today | 2 days ago |
| Latest version | v4.33.0 | v2.46.1 |
| Repository started | October 2020 | August 2015 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web, Docker | – |
| Main language | Go | Go |
| Alternative to | Amazon Cognito, Auth0, Clerk, Microsoft Entra ID, Okta, Ping Identity +2 | Amazon Cognito, Clerk, Firebase Authentication, Microsoft Entra ID, Okta, Ping Identity +1 |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 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
dex
Dex is an identity service that issues OpenID Connect ID tokens and federates logins to LDAP, SAML, GitHub, Google, and other upstream providers.
Key features
- OpenID Connect and OAuth 2.0 issuer
- Pluggable upstream identity connectors
- Signed JWT ID tokens for clients
- Kubernetes authentication integration
- LDAP, SAML, and social login backends
- YAML-based configuration