talira

An open-source, self-hosted identity and access management platform

open coreApache-2.0self-hostablefreeMCP

Casdoor is an identity provider and single sign-on server with a web console: it stores your users, issues tokens and serves the same directory over OAuth 2.0, OpenID Connect, SAML 2.0, CAS, LDAP, RADIUS and SCIM, with passkeys, TOTP, SMS and email MFA, and sign-in through Google Workspace, Microsoft Entra ID, GitHub and 75+ other providers. Organizations, applications, providers and login-page branding are configured in the UI, access rules use Casbin models (ACL, RBAC, ABAC), and it has a built-in MCP server, an MCP gateway and OAuth for AI agents. It's a single Go binary with a React console and MySQL, PostgreSQL, SQLite or SQL Server, licensed Apache-2.0 except the ee directories, whose features need a Commercial ($799 a year) or Enterprise ($1,799 a year) license key per deployment. Casdoor Inc. also runs Casdoor Cloud, a dedicated managed instance from $9 a month with no per-user fees.

Ways to install

Problems it solves

  • one login for all our internal apps with SSO over OIDC and SAML that we host ourselves
  • a self-hosted Auth0 or Okta alternative without per-user pricing
  • add sign-up, login, MFA and social login to my web app without building auth myself
  • a Keycloak alternative with a simpler web console and no JVM
  • our legacy app only speaks CAS and the new ones use OIDC, and we want one user directory for both
  • give each customer of our SaaS their own organization, users and branded login page
  • let people sign in with passkeys or Face ID instead of passwords
  • sync users from Active Directory, Google Workspace or Okta into one identity provider
  • provision and deprovision accounts in our apps automatically over SCIM
  • authenticate Wi-Fi or VPN users with RADIUS and MFA from the same user directory
  • control which AI agents and users can call which tools on our MCP servers
  • add OAuth to my MCP server so Claude, ChatGPT or Cursor can connect securely
  • define fine-grained permissions with RBAC or ABAC policies alongside our login server
  • a hosted identity provider in the EU or Australia with flat monthly pricing instead of per-MAU fees
  • set up single sign-on for Grafana, GitLab, Nextcloud and Portainer from one console

View all 18 problems

Features

  • OAuth 2.0 authorization server and OpenID Connect provider, with PKCE, device flow, Token Exchange and DPoP
  • SAML 2.0 as identity provider and service provider
  • CAS for legacy applications
  • LDAP: sync from a directory, or serve as one; RADIUS server for VPN and Wi-Fi
  • SCIM 2.0 user provisioning and de-provisioning
  • WebAuthn passkeys, Face ID, TOTP and SMS or email MFA
  • Casdoor Authenticator, an open source TOTP app for Android and iOS
  • 75+ social and enterprise identity providers, including Google Workspace, Microsoft Entra ID, Okta and GitHub
  • multi-tenancy: independent organizations with their own users and branding
  • roles, permissions and Casbin policy models (ACL, RBAC, ABAC)
View 10 more
  • built-in MCP server at /api/mcp to manage applications, users and other Casdoor objects
  • MCP gateway that registers external MCP servers and proxies calls with stored tokens
  • OAuth for MCP servers and AI agents; A2A support
  • REST API with Swagger UI; official SDKs for Go, Java, Python, Node.js, JavaScript, .NET, PHP and Rust
  • webhooks for user and sign-in events
  • Marketplace of app integrations, identity provider templates and sign-in themes
  • audit logs of sign-ins and administrative changes
  • configuration as code with an init data file and an official Terraform provider
  • MySQL, PostgreSQL, SQLite, SQL Server and other databases; Redis for more than one replica
  • Casdoor Cloud: Basic $9/month, Premium $25/month, Enterprise $59/month, Enterprise HA custom; no per-user fees

Limitations

  • No SOC 2 or ISO 27001 certification: Casdoor Cloud holds neither, and the maker suggests self-hosting inside your own certified environment6

Ways to run it

Casdoor Cloud

Hosted by Casdoor

Basic $9/month ($80/year); Premium $25/month ($200/year); Enterprise $59/month ($450/year); Enterprise HA custom; pay-as-you-go by the hour6

Only in this edition

  • a dedicated Casdoor instance and database, upgraded by Casdoor
  • managed TLS certificates and custom domains from Premium
  • 23 regions to choose from (Basic: Singapore or Japan)
  • SIEM forwarding and a staging instance on Enterprise
  • 99.9% uptime SLA and high availability on Enterprise HA

Not included

  • Casdoor's built-in LDAP and RADIUS servers: Cloud instances are reached over HTTPS only6

Pricing

Open Source (self-hosted)

You run it, Apache-2.0

free378

Only in this edition

  • Casdoor's built-in LDAP and RADIUS servers

Not included

  • the features in the ee directories that need a Commercial or Enterprise license key379
  • MCP gateway per-tool permissions and call records, ABAC and SCIM provisioning to your applications7
  • leaked-password checks, push MFA, signing key rotation alerts and OpenTelemetry tracing7

You arrange

  • MySQL, PostgreSQL or another supported database
  • Redis when running more than one replica
  • HTTPS and a public origin URL
  • email and SMS providers for codes
  • backups and upgrades

Self-hosting docs

Commercial license (self-hosted)

You run it, Apache-2.0 AND Casdoor Enterprise License (source-available)

$799/year per production deployment79

Only in this edition

  • leaked and weak password checks, credential stuffing defense, push MFA
  • signing key rotation with expiry alerts
  • ABAC and multiple user syncers
  • SCIM provisioning to your applications
  • MCP gateway with per-tool permissions and call records
  • OpenTelemetry tracing
  • paid Marketplace integrations
  • email support

Not included

  • tamper-proof audit records, SIEM forwarding, access reviews and privileged account management7
  • hardware security modules (PKCS #11) and certificate, smart card and hardware token sign-in7

You arrange

  • a database, Redis for replicas, HTTPS, backups and upgrades
  • the license key in conf/app.conf or an environment variable

Pricing

Enterprise license (self-hosted)

You run it, Apache-2.0 AND Casdoor Enterprise License (source-available)

$1,799/year per production deployment79

Only in this edition

  • tamper-proof audit records
  • CEF and LEEF forwarding to your SIEM
  • access reviews and separation-of-duty rules
  • privileged account management
  • delegated administration
  • approval of AI agent tool calls
  • hardware security modules (PKCS #11)
  • certificate, smart card and hardware OTP token sign-in
  • form autofill for legacy apps
  • priority email support

You arrange

  • a database, Redis for replicas, HTTPS, backups and upgrades
  • the license key in conf/app.conf or an environment variable

Pricing

Capabilities

Has an APIplan not known
Has an MCP serverplan not known
Takes pluginsplan not known
Has official SDKsplan not known
Has single sign-onEvery plan, from $80/year; Open Source (self-hosted); Commercial license (self-hosted); Enterprise license (self-hosted)67
Sends webhooksplan not known

Alternatives

The same job

These do what Casdoor does.

  1. Keycloak Open source identity and access management for modern applications and services
  2. authentik The authentication glue you need
  3. Logto The modern, open-source auth infrastructure for SaaS and AI apps
  4. SuperTokens Open source alternative to Auth0, Firebase Auth and AWS Cognito
  5. ZITADEL Identity infrastructure, simplified
  6. Authelia The Single Sign-On Multi-Factor portal for web apps

Compare Casdoor with the top 3