CasdoorSelf-hosted identity provider with SSO and agent MCP gateway
HankoPasskey-ready authentication and user management platform
Casdoor vs Hanko
How Casdoor and Hanko compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Amazon Cognito, Auth0 and Stytch.
At a glance
- Casdoor has more GitHub stars (15k vs 9.1k).
- Both are actively maintained (last commits 2 days ago and yesterday).
- Casdoor uses Apache-2.0 (permissive); Hanko uses AGPL-3.0 (copyleft).
- Both can be self-hosted.
- Casdoor is the older project (repository started 2020; Hanko in 2022).
Side by side
| Casdoor | Hanko | |
|---|---|---|
| GitHub stars | ★ 14,972 | ★ 9,078 |
| Forks | 1,937 | 1,059 |
| Last commit | 2 days ago | yesterday |
| Latest version | v4.32.0 | backend/v3.2.0 |
| Repository started | October 2020 | March 2022 |
| License | Apache-2.0 · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Yes |
| Platforms | Docker, Web | Docker |
| Main language | Go | Go |
| Alternative to | Amazon Cognito, Auth0, Okta, Ping Identity, Stytch | Amazon Cognito, Auth0, Clerk, Firebase Authentication, Stytch, WorkOS |
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
Hanko
Hanko provides authentication and user management with passkeys, MFA, OAuth, and SAML SSO. It integrates via web components, a frontend SDK, or a custom UI against its API.
Key features
- Passkeys and WebAuthn
- Email passcodes and passwords
- OAuth and social sign-in
- SAML enterprise SSO
- TOTP and security-key MFA
- Hanko Elements web components