Skip to content
Sign in
  • Browse all toolsFilter by category and pricing
  • Browse categoriesWriting, code, image, audio and more
  • Compare toolsPut up to three side by side
  • Read the blogGuides and comparisons

Casdoor

Open-source identity management, single sign-on and MCP access control with a web console

Casdoor is a self-hosted, open-source identity and access management server that manages users, authentication, single sign-on and MCP access. Casdoor serves developers and organizations that want to own their user directory. Casdoor is available under Apache-2.0, with managed Casdoor Cloud hosting offered at flat monthly pricing.

Updated 9 Nov 20266 sections

Casdoor website screenshot

What is Casdoor?

Casdoor is an open-source identity and access management server with a web console for administering users, applications, organizations and providers. Casdoor acts as a complete identity provider: Casdoor stores user accounts and issues tokens so applications can delegate login rather than handle passwords themselves.

Casdoor is designed for teams that want to own their user directory, rather than place an authentication screen in front of an existing reverse proxy. Casdoor supports both conventional application authentication and agent-related access through an MCP gateway. The project is available under the Apache-2.0 license and supports self-hosted deployment.

What Casdoor can do

Casdoor combines authentication, user administration and policy-based authorization in the same server. Casdoor makes a shared directory available through multiple protocols, allowing modern applications and legacy services to use the same accounts. The web console also controls organizations, providers, sign-in methods, messaging templates and login-page branding.

  • Casdoor supports single sign-on through OAuth, OIDC, SAML and CAS.
  • Casdoor supports passwordless WebAuthn sign-in, Face ID and multi-factor authentication.
  • Casdoor provisions and de-provisions users through SCIM.
  • Casdoor applies Casbin policies using ACL, RBAC, ABAC and custom models.
  • Casdoor exposes MCP servers and controls access to them.
  • Casdoor records sign-ins and administrative changes in audit logs.

How Casdoor works

Casdoor can run through an all-in-one Docker image, Docker Compose with MySQL, Kubernetes with Helm, or a source installation. The evaluation image bundles SQLite and sample data without requiring a separate database or configuration file. A source installation uses a Go backend, a React frontend and a supported database.

Casdoor connects an application through an Application entry in the console, which supplies a Client ID and Client Secret for the application's OAuth or OIDC client. Casdoor also provides language SDKs and a public REST API. Configuration can be maintained through startup data files or the official Terraform provider.

Who Casdoor is for

Casdoor serves developers and organizations that need centralized accounts across applications, independent organizational directories or configurable access policies. Casdoor supports external identity providers including Google Workspace, Microsoft Entra ID and GitHub. Marketplace integrations cover applications such as Grafana, GitLab, Nextcloud and Open WebUI, with guides for configuring the application side.

  • Casdoor lets modern and legacy applications share a user directory.
  • Casdoor separates organizations with independent users and branding.
  • Casdoor supports application sign-in through external identity providers.
  • Casdoor controls access to MCP servers for agent workflows.

Casdoor pricing and plans

Casdoor is available as an open-source project under Apache-2.0 for self-hosting. Casdoor Cloud provides a dedicated instance and database maintained by the Casdoor team, with flat monthly pricing and no per-user fees. New Cloud accounts receive $20 in free credit. Casdoor supports moving between Cloud hosting and self-hosted deployment.

Casdoor also provides hosted demos for evaluation without installation. The writable demo allows changes but resets its data about every 5 minutes. The read-only demo rejects write operations by design. These demos provide ways to inspect the interface before choosing a self-hosted installation or a managed Cloud instance.

Casdoor strengths and limitations

Casdoor combines protocol coverage, web-based administration and configurable authorization with a choice of self-hosted or managed operation. Casdoor allows application settings and branding to change without redeployment, while APIs and configuration-as-code options support developer workflows. The complete identity-provider approach is more appropriate for owning a user directory than for a minimal authentication-proxy requirement.

  • Casdoor's all-in-one evaluation container does not preserve data when the container is removed.
  • Casdoor self-hosting leaves server, database and upgrade operation to the operator.
  • Casdoor's Helm chart requires additional configuration for access outside the cluster.
  • Casdoor's demo administrator password must be changed before production use.

Casdoor FAQ

What is Casdoor?

Casdoor is an open-source identity and access management server with a web console. Casdoor stores users, issues tokens and supports single sign-on, policy-based authorization and MCP gateway access control for applications and agent workflows.

Is Casdoor free?

Casdoor is available as an open-source project under the Apache-2.0 license for self-hosting. Casdoor Cloud offers managed dedicated instances with flat monthly pricing and no per-user fees. New Cloud accounts receive $20 in free credit.

Can Casdoor be self-hosted?

Casdoor supports self-hosting through Docker, Docker Compose, Kubernetes with Helm, or installation from source. Casdoor's all-in-one Docker image includes SQLite and sample data for evaluation, but the source explicitly states that this image is not intended for production.

Does Casdoor have an API and integrations?

Casdoor provides a REST API, Swagger UI, language SDKs and webhooks for user and sign-in events. Casdoor's Marketplace includes application integrations for Grafana, GitLab, Nextcloud and other services, along with identity provider templates and sign-in themes.

Can Casdoor control access to MCP servers?

Casdoor includes an MCP gateway that exposes Model Context Protocol servers and controls access to them. Casdoor also lists agent-to-agent communication support alongside its identity management, authentication and policy-based authorization capabilities.

Who is Casdoor for?

Casdoor is for developers and organizations that want to own their user directory and delegate application login to an identity provider. Casdoor supports shared accounts across modern and legacy applications, separate organizational directories and configurable access policies.

From the community

No reviews yet

Be the first to review this tool. What you write helps the next person choose.

More tools like Casdoor

LibreChat

www.librechat.ai

LibreChat unifies AI conversations with model selection, agents, code execution, and MCP connections.

Free

InsForge

www.github.com

Open-source backend for coding agents with Postgres, authentication, storage, edge functions, and an AI gateway.

Free

New API

www.github.com

Self-hosted AI gateway for model routing, API access control, usage tracking, and cost accounting.

Free

LiteLLM

www.github.com

Open-source AI gateway and Python SDK for calling LLM providers through a unified OpenAI-compatible interface.

Free