# casdoor

An open-source Agent-first Identity and Access Management \(IAM\) /LLM MCP &amp; 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

Canonical page: https://www.reposhelf.co.uk/projects/github/casdoor/casdoor.html

- Project ID: casdoor/casdoor
- Source: GitHub
- Original project: https://github.com/casdoor/casdoor
- Description attribution: project author metadata
- Categories: AI &amp; machine learning, MCP servers &amp; agents
- Technologies: Go
- Licence: Apache-2.0
- Repository availability checked: 2026-11-23T14:28:51.780Z
- Demo page loaded: 2026-11-23T16:36:19.063Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> The sign-in page your users see: password, email/SMS code, WebAuthn and Face ID, plus every social provider you enable.

> Admin console. Users, tokens, organizations and providers at a glance. Applications. Every app that delegates login to Casdoor, across all organizations. Application settings. OAuth, SAML, providers and branding — no redeploy, no config file.

> Casdoor is a complete identity provider, not an authentication proxy and not a library you embed. It stores your users, issues the tokens, and gives you an admin console to manage all of it — so your applications can delegate login entirely and never handle a password themselves.

- One server, many protocols. The same user directory is reachable over OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP and SCIM, so a modern SPA and a legacy CAS-only app can share one set of accounts.
- Everything is editable in the UI. Organizations, applications, providers, sign-in methods, email and SMS templates, and login-page branding are configured in the web console instead of in files you have to redeploy.
- Policy-based authorization built in. Access rules are expressed with Casbin — ACL, RBAC, ABAC and custom models — rather than a fixed permission scheme.
- Straightforward to self-host. A single Go binary plus a database. No JVM, no operator, no cluster required.
- OAuth 2.0 / OIDC — full authorization server and OpenID Connect provider

## Author-documented requirements and audience

> The sign-in page your users see: password, email/SMS code, WebAuthn and Face ID, plus every social provider you enable.



- Account — Required: The sign-in page your users see: password, email/SMS code, WebAuthn and Face ID, plus every social provider you enable.
- Account — Required: Every app that delegates login to Casdoor, across all organizations.
- Self-hosting — Documented: It is the same open-source Casdoor, so you can move between Cloud and self-hosting at any time.
- Self-hosting — Documented: Straightforward to self-host.

Not recorded: External API key, Paid service. Missing information does not mean there are no requirements.

Source: https://github.com/casdoor/casdoor/blob/master/README.md

Extraction checked: 2026-11-02T09:48:26.490Z

Last recorded source update: 2026-11-23T14:23:51.000Z

Saved release: v4.15.0 — 2026-10-04T11:34:17.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=casdoor%2Fcasdoor). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
