Casdoor

Casdoor

Open-source IAM and SSO platform with a built-in MCP server for AI agent identity and access management.

75/100Safe BetFree · from from $29/moFreemium

If your stack has agents talking to identity data, the MCP server plus per-tool scope-based permissions and OpenClaw OTLP ingestion is the reason to look here, and it is genuinely rare in open-source IAM. If you want zero ops or a decade of community plugins, go managed or go Keycloak. Everything else (SSO, SAML, MFA, directory sync) is competent table stakes you could get elsewhere.

Verified 4d ago · liveness 75/100 · cite: rightaichoice.com/tools/casdoor

Best for
  • Platform teams whose internal or customer-facing agents need scoped, auditable access to identity data
  • SaaS builders who want authentication and subscription billing in one self-hosted console
  • Security teams that need a runtime record of what LLM agents actually did
  • Enterprises standardizing SSO across 100+ social and enterprise identity providers
Not ideal for
  • Teams that want fully managed IAM with no servers or database to operate
  • Products with no AI agents or MCP clients in the stack, where the agent layer adds nothing
  • Buyers who need complex auth workflows configured entirely through a no-code visual builder
Visit Website

IntermediateFor an engineer comfortable with Docker or Helm: a running Casdoor instance on MySQL or PostgreSQL is a short afternoon, and pointing an existing app at it via the standard OIDC client or Casdoor SDK is a few more hours. Adding the MCP server for Claude Desktop or Cursor is a config block and a token. Wiring OpenClaw's OTLP exporter is similarly quick, but building out Casbin permission policiesWeb · APIAPI availableVerified 4d ago
Pricing
Free · from from $29/mo
FreemiumFree tier2 plans4 hidden costs
Learning curve
Intermediate
For an engineer comfortable with Docker or Helm: a running Casdoor instance on MySQL or PostgreSQL is a short afternoon, and pointing an existing app at it via the standard OIDC client or Casdoor SDK is a few more hours. Adding the MCP server for Claude Desktop or Cursor is a config block and a token. Wiring OpenClaw's OTLP exporter is similarly quick, but building out Casbin permission policies
Runs on
WebAPI
API available · 15 integrations
Who it's for
Platform engineer running internal AI agentsSecurity lead who needs an agent audit trailSaaS builder shipping a subscription product
Live sentiment
Is Casdoor actually worth it?

We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

3 free scans · no card needed

Skip it if

Skip Casdoor if your team has no appetite for operating identity servers and databases, or if nothing in your stack speaks MCP or emits LLM telemetry — in either case the agent-governance layer you'd be paying attention to goes unused.

The 30-second take
Biggest gripe

Self-hosting means you own the database, backups, upgrade windows, and on-call rotation for the identity service — budget engineering time, not just a subscription line.

Price reality

Casdoor is free and open source — the cost is the infrastructure and engineering time to run it. Compared with managed IAM (Okta, Auth0), that trade favors teams who already operate their own database and Kubernetes and who want to keep identity data in-house and avoid per-agent or per-MAU licensing. Compared with other open source (Keycloak, Authentik, Logto), Casdoor competes on the native MCP server, per-tool agent scoping, OpenClaw OTLP ingestion, and the bundled SaaS billing module rather

In short

Casdoor — Open-source IAM and SSO platform with a built-in MCP server for AI agent identity and access management. Best for Platform teams whose internal or customer-facing agents need scoped, auditable access to identity data, SaaS builders who want authentication and subscription billing in one self-hosted console, Security teams that need a runtime record of what LLM agents actually did. Free to start; paid plans from $29/mo.

What's new in Casdoor

Checked 4 days ago

Across the latest 2 updates: 1 feature update and 1 news mention.

What people actually say about Casdoor — is it worth it?

We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.

23 mentions across 4 sources (Hacker News, YouTube, GitHub, Lemmy) · researched Aug 12, 2026.

50% positive50% critical

Average across the 4 sources that answered — each source counts once, not each post.

Recurring strengths
  • +Built-in MCP server enables AI agents to manage identity via natural language, a unique feature.
  • +Fine-grained, scope-based authorization per tool call for AI agents.
  • +Agent-to-agent authentication with OAuth 2.1 and Dynamic Client Registration.
  • +Supports 100+ identity providers and protocols like OAuth, OIDC, SAML, LDAP.
  • +Includes OpenClaw observability for LLM applications, providing audit trails.
Recurring frustrations
  • −Community data shows limited real-world feedback; most discussions are about competitors.
  • −A security advisory lists multiple authentication bypass vulnerabilities, a major concern.
  • −Competes with more established tools like Keycloak and Authentik that have larger communities.
  • −The agent-first focus may be overkill for traditional IAM use cases.
  • −Learning curve is intermediate; users may need to understand MCP and OAuth 2.1 nuances.
Patterns worth knowing
Security vulnerabilities raise concerns about reliability
Seen on Lemmy
Comparison to established IAM tools (Keycloak, Authentik, Authelia) dominates discussions
Seen on YouTube, Hacker News
Agent-first IAM concept is intriguing but under-validated
Seen on GitHub, Hacker News
Learning curve
intermediateProductive in ~A few hours
Hidden costs people mention
  • • Self-hosting requires infrastructure and maintenance time.
  • • Cloud pricing is not clearly documented, may be costly at scale.
  • • No enterprise support tier mentioned in community data.

Viability Score

75/100
Safe Bet

How well maintained and how widely used is Casdoor? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
90
Traction
100
Site health
95
User sentiment
50
What the vendor publishes
40

Last calculated: October 2026

How we score →

Key Features

  • Built-in MCP server over Streamable HTTP for natural-language management of users, apps, and permissions
  • Per-tool, scope-based authorization on every MCP tool call
  • OAuth 2.1 with Dynamic Client Registration for AI agent authentication
  • Secure agent-to-agent authentication
  • OpenClaw agent ingests OpenTelemetry traces, metrics, and logs over OTLP
  • Runtime audit trail of agent activity as structured Entries with span trees
  • Single sign-on and single sign-out with RP-initiated logout
  • OAuth 2.0, OIDC, SAML, CAS, LDAP, WebAuthn, and MFA support
  • Authorization via Casbin: ACL, RBAC, ABAC, and RESTful access control
  • 100+ identity providers including GitHub, Google, QQ, and WeChat
  • Directory syncers for Azure AD, Active Directory, Google Workspace, Keycloak, Okta, AWS IAM, WeCom, DingTalk, Lark
  • Direct user registration with email verification codes and password recovery by email or SMS
  • SaaS billing: products, product store, shopping cart, plans, pricing tiers, payment providers, orders, subscriptions,
  • Golang frontend-backend separation with horizontal scalability
  • SDK for identity authentication, user management, and resource uploads

About Casdoor

FreemiumIntermediateAPI availableWeb · API

Casdoor is an open-source identity and access management (IAM) and single sign-on (SSO) platform built for engineer-led teams that want to run identity themselves. The identity core covers OAuth 2.0, OIDC, SAML, CAS, LDAP, WebAuthn, and MFA, and it federates with 100+ social and enterprise providers including GitHub, Google, WeChat, QQ, Azure AD, Keycloak, Okta, and AWS IAM. Authorization runs on Casbin, so ACL, RBAC, ABAC, and RESTful policies are all modelable, and directory syncers pull users from Active Directory, Google Workspace, WeCom, DingTalk, and Lark. A SaaS management module lives in the same console: products, plans, pricing tiers, payment providers, orders, subscriptions, transactions, and coupons. What sets Casdoor apart from older open-source IAM projects is the AI agent layer. A built-in MCP server over Streamable HTTP lets agents manage users, applications, and permissions in natural language from Claude Desktop, Cursor, Windsurf, VS Code with GitHub Copilot, or any MCP client. Every MCP tool call is authenticated and authorized against fine-grained, scope-based permissions, and OAuth 2.1 with Dynamic Client Registration handles agent-to-agent authentication. OpenClaw collects OpenTelemetry traces, metrics, and logs from your LLM apps over OTLP and pushes them into Casdoor, where each tool call, agent-to-agent interaction, and LLM invocation lands as a structured Entry you can inspect as a span tree. Architecturally it is a Golang backend with a separated frontend, horizontal scaling for high concurrency, localization in 10+ languages, and storage in MySQL, PostgreSQL, or SQL Server. An SDK covers identity authentication, user management, and resource uploads, with integrations for Go, Java, JavaScript, Python, PHP, C#, C++, Ruby, Lua, and Haskell. Casdoor sits in the CNCF Cloud Native Landscape under Security & Compliance. Position it against Keycloak or Authentik if you need a mature community, and against Okta or Auth0 if you want zero ops.

Behind the Verdict

The honest framing: most of Casdoor is a competent open-source IAM that competes with Keycloak, Authentik, and Logto on roughly the same feature list. The reason to pick it specifically is the agent layer. In practice, that means an MCP server over Streamable HTTP, OAuth 2.1 with Dynamic Client Registration for agent-to-agent auth, and scope-based permissions enforced on every tool call. We would reach for this when the question you cannot answer today is 'what did our agents actually do.' OpenClaw pushing OTLP traces, metrics, and logs into Casdoor and rendering each tool call and LLM invocation as a span tree in Entries is a concrete answer to that. When to pick it: platform or security teams running their own infrastructure, SaaS builders who want authentication and subscription billing in one console instead of stitching Stripe to a separate IdP, and orgs with China-facing products that need WeCom, DingTalk, QQ, and Lark identity support next to Western providers. The CNCF Landscape listing under Security & Compliance (added early 2026) helps internal review conversations. When to pass: if you have no AI agents or MCP clients in the stack, the headline feature is dead weight and you are choosing Casdoor purely as an IAM, where the more mature alternatives are easier calls. If you cannot operate servers and a database, this is the wrong shape of product. If you need complex auth workflows built entirely in a no-code visual editor, look elsewhere. Caveats we would flag before you commit. Self-hosting means you own upgrades, backups, and the database. The MCP and OpenClaw surface is new and moving, so budget time to read the current docs rather than trusting a six-month-old tutorial. Casdoor Cloud exists if you want someone else to run it, priced from $29/month

Researching Casdoor? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Real-world workflow fit

Concrete scenarios for the personas Casdoor actually fits — and what changes day-one when you adopt it.

Platform engineer running internal AI agents

You deploy Casdoor with Docker or Helm, set it up as your OIDC provider, then add the /api/mcp endpoint to your team's Claude Desktop and Cursor configs with a bearer token. Scope-based permissions decide which MCP tools each agent can call.

Outcome: Agents can create users, adjust applications, and read permissions in natural language, while every call is authorized against a per-tool policy instead of a shared admin key.

Security lead who needs an agent audit trail

You point an openclaw.yaml OTLP/HTTP exporter at your Casdoor instance so traces, metrics, and logs from your LLM applications flow in as structured Entries.

Outcome: Every tool call, agent-to-agent interaction, and LLM invocation shows up as a span tree in the Casdoor UI, giving you one place to answer what an agent did at runtime.

SaaS builder shipping a subscription product

You configure Casdoor's SaaS module — products, product store, shopping cart, plans, pricing tiers, payment providers, orders, subscriptions, and coupons — next to the same console where users sign in.

Outcome: Authentication and billing live in one self-hosted system, so you don't wire a separate subscription vendor into your identity provider.

Use Cases

Limitations

  • Casdoor is open-source and self-hosted, so you deploy it yourself (Docker, Helm, and Kubernetes paths are documented), run your own database, and handle upgrades and schema migration.
  • The AI-agent capabilities — the built-in MCP server, OAuth 2.1 with Dynamic Client Registration, and per-tool scope-based permissions — are recent additions layered onto a mature IAM codebase, so validate them against your own agent traffic.
  • The scraped documentation describes authentication, MCP, OpenClaw ingestion, and SaaS billing in detail but does not publish operational limits, throughput ceilings, or scaling specifics beyond "high concurrency" and "horizontal scalability."

as of 2026-10-04

Verification history

We have re-verified Casdoor 10 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  2. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  3. — re-checked, vendor evidence unchanged
  4. — re-checked, vendor evidence unchanged
  5. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  6. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it

Showing the 6 most recent of 10 verification passes.

Free to cite with attribution — this page re-verifies continuously.

12-month cost

Project the real annual outlay, including the implied monthly cost when only an annual tier is published.

Annual total
Free
Over 12 months
Effective monthly
—
—

Vendor list price only. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.

Hidden costs & gotchas

What the public pricing page doesn't put in bold. Captured from pricing-page footnotes, contract terms, and recurring complaints.

  • Self-hosting means you own the database, backups, upgrade windows, and on-call rotation for the identity service — budget engineering time, not just a subscription line.
  • Running the OpenClaw/OTLP pipeline stores traces, metrics, and logs as Entries in your own database, so LLM observability data volume grows your storage bill directly.
  • Directory syncers that pull from Azure AD, Active Directory, Google Workspace, Okta, or SCIM sources need a service account and API quota on the source system, which is often a separate paid add-on there.
  • Payment providers inside the SaaS module carry their own per-transaction processing fees, which sit on top of whatever you pay to run Casdoor.

Where the pricing makes sense

The company stage and team size where Casdoor's pricing actually pencils out — and where peers do it cheaper.

Casdoor is free and open source — the cost is the infrastructure and engineering time to run it. Compared with managed IAM (Okta, Auth0), that trade favors teams who already operate their own database and Kubernetes and who want to keep identity data in-house and avoid per-agent or per-MAU licensing. Compared with other open source (Keycloak, Authentik, Logto), Casdoor competes on the native MCP server, per-tool agent scoping, OpenClaw OTLP ingestion, and the bundled SaaS billing module rather

Setup time & first value

How long it actually takes to get something useful out of Casdoor — broken out by persona, not the marketing-page minute.

For an engineer comfortable with Docker or Helm: a running Casdoor instance on MySQL or PostgreSQL is a short afternoon, and pointing an existing app at it via the standard OIDC client or Casdoor SDK is a few more hours. Adding the MCP server for Claude Desktop or Cursor is a config block and a token. Wiring OpenClaw's OTLP exporter is similarly quick, but building out Casbin permission policies

Switching to or from Casdoor

How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.

Migrating in
  • →From Keycloak: use Casdoor's Keycloak syncer to pull users across, then check the published Casdoor vs. Keycloak comparison before cutting over.
  • →From Okta: the Okta syncer imports directory data; re-point OIDC and SAML clients at Casdoor's application endpoints.
  • →From Auth0: the Casdoor SDK and standard OIDC client replace Auth0's login flow; see the Casdoor vs. Auth0 comparison doc for the differences.
  • →From Azure AD or Active Directory: the dedicated Azure AD and Active Directory syncers bring users and groups into Casdoor.
  • →From an existing database-backed user table: Casdoor's database syncer moves users over and the docs cover the transition path.
Migrating out
  • ↗To Keycloak: export users and clients through Casdoor's public API and rebuild Casbin permission models as Keycloak roles.
  • ↗To Auth0 or Okta: move users via their bulk-import tooling, then recreate OIDC and SAML applications on the managed side.
  • ↗To Authentik or Logto: reconfigure OIDC clients against the new provider and re-implement permissions outside Casbin.
  • ↗To a SCIM-consuming directory: expose Casdoor data as SCIM 2.0 payloads to feed the destination system.

Integrations

Claude DesktopCursorWindsurfVS Code with GitHub CopilotOpenClawGoogle WorkspaceAzure ADActive DirectoryKeycloakOktaAWS IAMWeComDingTalkLarkDiscord

Resources & Guides

Tutorials & Learning

YouTube returned 6 videos for “Casdoor”, and we withheld 6: 6 could not be judged, because “Casdoor” is a single word that other videos use for other things. We are showing none, because we could not prove any of them are about Casdoor.

Official links

Featured Head-to-Head Comparisons

Popular in Security & Privacy

Push Security

Push Security

Push Security is browser security for the AI era — it stops AiTM phishing, ClickFix attacks, session hijacking and shadow AI inside the

FreemiumTry
Mostly AI

Mostly AI

Generate privacy-safe synthetic data with MOSTLY AI's Apache v2 SDK and TabularARGN engine.

Contact SalesTry
Coro

Coro

Coro unifies endpoint, email, cloud and network security into one AI-agent workspace platform that auto-remediates 95% of threats.

Contact SalesTry

Frequently Asked Questions

Used Casdoor? Help shape our editorial sentiment research.