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
Overview
Casdoor stores organizations, user directories, and application clients in one place so surrounding apps delegate sign-in instead of holding passwords. Administrators configure providers, sign-in methods, branding, and policies through the UI rather than redeploying configuration files.
The same user base can authenticate modern SPAs and legacy CAS-only software because one server speaks many protocols. Features include multi-tenant organizations, RBAC with Casbin policies, social and enterprise identity provider connectors, audit logs, and SaaS-style billing hooks on the platform edition.
For AI workloads, a built-in MCP gateway controls access to Model Context Protocol servers, and OpenClaw can ship OpenTelemetry traces into Casdoor entries for agent auditing. A marketplace offers one-click SSO recipes for tools such as Grafana, GitLab, Nextcloud, Vaultwarden, and Argo CD.
Deployment options include a single Go binary with MySQL, PostgreSQL, SQLite, or SQL Server, Docker and Docker Compose paths, Helm on Kubernetes, and a managed Casdoor Cloud offering. SDKs cover Go, Java, Python, Node.js, .NET, PHP, Rust, and other languages.
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
- Multi-tenant organizations
- Marketplace app integrations
Use cases
- Central SSO for internal applications
- Enterprise federation with Entra ID or Google
- Agent and MCP access control
- Customer identity for SaaS products
- Legacy CAS application login
Open-source alternative to
Does the same job as
Casdoor doesn't name these products itself, but its own description shows it does the same job.