Home/AI Agents/casdoor
casdoor logo

casdoor

casdoor/casdoor

An open-source Agent-first Identity and Access Management (IAM) / LLM MCP & agent gateway and auth server

GraphCanon updated today · GitHub synced today

14k stars1.8k forksLast push 1d Go Apache-2.0

Decision brief

Casdoor is an open-source solution for identity and access management (IAM), with robust agent-first capabilities that integrate with various authentication protocols including OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuth

Good fit when

  • When you require a comprehensive IAM tool that supports multiple authentication methods such as OAuth, OIDC, SAML, CAS, LDAP, and more.
  • If your project involves AI agents or LLMs, where Casdoor's agent-first approach can offer seamless integration through its LLM MCP and agent gateway capabilities.

Avoid when

  • If your project requires proprietary technology exclusivity and cannot utilize open-source tools like Casdoor licensed under Apache-2.0.
  • When the depth of integration with specific authentication methods (e.g., some advanced SAML configurations) is critical, and you find that other competitors offer more specialized or better-detailed/

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of today
Provenance
Not a fork · Organization account
As of today
Security (OSV)
No MCP manifest
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

go get github.com/casdoor/casdoor
pkg.go.dev

How it fits your stack(8)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Integrates

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Casdoor is an all-in-one solution for identity and access management, supporting various authentication protocols including OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD. It acts as a gateway for LLM and agents with support through MCP.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 19, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 19, 2026

Languages
go

Source: github.language · Aug 19, 2026

Categories

Tags

README

🚀 Quick start

Pick one deployment method below. To keep behavior consistent with upstream, the steps are aligned with official docs.


🐳 Docker

Use one of the official Docker paths:

  • All-in-one (SQLite quick trial):
docker run -p 8000:8000 casbin/casdoor-all-in-one
  • Docker Compose (with your conf/app.conf next to docker-compose.yml):
docker compose up

Then open http://localhost:8000 and sign in with built-in/admin / 123 on a fresh install.

Official guide: Try with Docker


📄 License

Casdoor is licensed under the Apache License 2.0.


GitHub Stars

© 2026 Casdoor. Licensed under Apache License 2.0.

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.