casdoor
Casdoor is an open-source, self-hosted Identity and Access Management (IAM) and Single Sign-On (SSO) platform developed by the Casbin organization (Apache 2.0). Designed with a modern decoupled architecture (Go backend and React frontend), Casdoor provides an administrative web console that manages authentication across thousands of users and disparate applications with support for OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM 2.0, WebAuthn, and TOTP multi-factor authentication.
Setting Casdoor apart from traditional identity solutions like Keycloak is its native Model Context Protocol (MCP) support and frictionless provider ecosystem. Organizations can configure hundreds of social and enterprise logins—from Google Workspace and Azure AD to GitHub and Slack—without restarting services. Through its MCP integrations, AI agents can query organization directories, verify token scopes, and perform audit operations securely through standardized protocol tools.
Casdoor offers quick local evaluation via a single all-in-one Docker image (`casbin/casdoor-all-in-one`) that boots an embedded SQLite instance. For production, however, operators must configure an external relational database (MySQL, PostgreSQL, or SQL Server) and caching infrastructure. Furthermore, Casdoor embeds a strict multi-tenant 'Organization' model throughout its schema, requiring developers to carefully map user directories and application tenants during initial integration.
Features
Why choose it
Trade-offs
Maintenance check
- Last commit
- 2026-11-11
- Commits, last 90 days
- 100+
- Releases, last 90 days
- 30
- Latest release
- v4.27.1 (2026-11-10)
- Open issues
- 95
- Recent issues with at least one comment
- 19/28
Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.
Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.
Most discussed open issues
- #1190 Security related issues should be sent via Email instead of creating issues here9 comments · 2022-10-06
- #651 Support user merge\migrate between different users8 comments · 2022-04-07
- #3119 [feature] Optimize Session Handling to Avoid Redundant Session Creation6 comments · 2024-08-12
- #922 Any plan to support mongodb for casdoor?6 comments · 2022-07-28
- #355 Integrate Casdoor with Apache Shiro6 comments · 2021-12-10
Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.
Compatibility
Quick start
Use cases
Alternatives
Comments
No comments yet. Be the first!