An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
<a id="why-casdoor"></a>
Casdoor is a UI-first identity provider and access management platform: one place to manage users, organizations, applications, and providers, with a modern web console. Authorization policies can be expressed with Casbin (ACL, RBAC, ABAC, and more). Unlike reverse-proxy-centric auth companions, Casdoor is a dedicated auth server with broad protocol support, designed to be straightforward to self-host and integrate—see casdoor.ai for documentation.
<a id="live-demos"></a>
| Environment | URL | Description |
|---|---|---|
| Read-only | door.casdoor.com | Global demo; any modification or write operation will fail (read-only). |
| Writable | demo.casdoor.com | Full access for testing; data is reset about every 5 minutes. |
Default demo admin login (where applicable): admin / 123 — use only for demos; change credentials on your own deployment.
<a id="quick-start"></a>
Pick one deployment method below. To keep behavior consistent with upstream, the steps are aligned with official docs.
go.mod), Node.js LTS (20), Yarn 1.x, and a supported database.git clone https://github.com/casdoor/casdoor.git
cd casdoorconf/app.conf (at minimum set driverName, dataSourceName, and dbName; for MySQL create database casdoor first).cd web
yarn install
yarn build
cd ..
go run main.gobuilt-in/admin / 123 on a fresh install (change password immediately in production).Official guide: Server installation
Use one of the official Docker paths:
docker run -p 8000:8000 casbin/casdoor-all-in-oneconf/app.conf next to docker-compose.yml):docker compose upThen open http://localhost:8000 and sign in with built-in/admin / 123 on a fresh install.
Official guide: Try with Docker
With Helm v3 and a running Kubernetes cluster:
helm install casdoor oci://registry-1.docker.io/casbin/casdoor-helm-chartsAfter installation, access Casdoor through your cluster service/ingress. The official guide covers chart versions (including optional --version) and cluster-specific settings.
Official guide: Try with Helm
<a id="features"></a>
<a id="technology-stack"></a>
Casdoor is built as a frontend–backend separated project:
web/)<a id="documentation"></a>
All product documentation, installation, and tutorials live at casdoor.ai/docs/overview. Start here, then use the sections below.
Install
Connect applications
APIs
<a id="integrations"></a>
Casdoor integrates with common languages and frameworks:
<p align="center"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/go/go-original.svg" width="40" alt="Go"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/java/java-original.svg" width="40" alt="Java"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg" width="40" alt="Python"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/nodejs/nodejs-original.svg" width="40" alt="Node.js"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/react/react-original.svg" width="40" alt="React"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/vuejs/vuejs-original.svg" width="40" alt="Vue"> <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/angularjs/angularjs-original.svg" width="40" alt="Angular"> </p>Browse the full list: Integrations.
<a id="community-and-support"></a>
<a id="contributing"></a>
If you have questions about Casdoor, you can open an issue. Pull requests are welcome; we recommend opening an issue first so you can align with maintainers and the community before larger changes.
Please also read our contribution guidelines before contributing.
web/, update the English catalog at web/src/locales/en/data.json accordingly.<a id="donate"></a>
If you find Casdoor useful, please consider supporting its development:
<a href="https://opencollective.com/casdoor#sponsor"><img src="https://opencollective.com/casdoor/tiers/sponsor.svg?avatarHeight=74" alt="Sponsors on Open Collective"></a>
<a href="https://opencollective.com/casdoor#backer"><img src="https://opencollective.com/casdoor/tiers/backer.svg?avatarHeight=36" alt="Backers on Open Collective"></a>
<a id="license"></a>
Casdoor is licensed under the Apache License 2.0.
<a href="https://github.com/casdoor/casdoor/stargazers"><img src="https://img.shields.io/github/stars/casdoor/casdoor?style=social&logo=github&label=Star" alt="GitHub Stars"></a>
<sub>© 2026 <a href="https://casdoor.ai">Casdoor</a>. Licensed under <a href="https://github.com/casdoor/casdoor/blob/master/LICENSE">Apache License 2.0</a>.</sub>
</div>