Casdoor is an open-source IAM / SSO platform written in Go and React, Apache 2.0 licensed, with about 15k stars on GitHub and a place in the CNCF landscape since February 2026. Our last update covered the Marketplace and WASM actions. This month's work is about three things: bringing existing identity systems over, letting AI agents manage the server through MCP, and making sign-in policy editable without writing code.
Migrations from Keycloak, Auth0 and Okta
Switching IAM is rarely hard because of creating accounts. It is hard because password hashes do not export cleanly, client IDs and secrets change under every integrating application, and a half-finished migration is difficult to undo.
Casdoor now has an import action type, and the actual migration logic lives in Marketplace plugins rather than in core:
-
keycloak-migrationreads a realm export and keeps user IDs, the realm signing keys and kid, PBKDF2 / Argon2 password hashes, and TOTP secrets. -
auth0-migrationpages through the Management API to get past its 1000-record limit, reads password hashes from the export file, and keeps user IDs plus client IDs and secrets. -
okta-migrationis incremental: it verifies a user's password against Okta on first sign-in and rehashes it afterwards.
The admin console's Migrations page previews the run first: how many users, groups and applications will be created, and which usernames or emails collide. Execution then follows that plan. The migration record keeps the list of objects it created, so undoing it deletes those objects and nothing that existed before.
All four steps are also MCP tools (get_migrations, plan_migration, apply_migration, undo_migration), which means an agent can run the preview and explain the conflicts before a human approves the execution.
To be upfront: the Auth0 plugin has only been verified against a simulated API so far, so try it with a small batch before pointing it at a real tenant. The Okta plugin is incremental, so the source system must stay online until every user has signed in once.
MCP: 15 tools in open source, guardrails for writes
The built-in MCP server grew from the original application and user tools to 15 in the open-source edition: CRUD for users and applications, plus the five migration tools.
The commercial edition adds organizations, providers, roles, permissions, groups, certificates and tokens, along with four task-specific tools:
-
setup_applicationbuilds an application, callback and sign-in method from a description of your stack add_login_provider-
get_integration_guidereturns the integration steps for a framework -
diagnose_loginwalks the sign-in chain and points at the step that is misconfigured
Writes support dryRun: the server reads the current object, computes the diff and returns what it would change without writing anything. Every call records the before and after values. The enterprise edition can hold a write for another admin's approval and roll it back.
Authorization is not a side door. Each tool runs the same checks as the REST API under the caller's Casdoor role, including scope and organization boundaries. An agent can do exactly what its token allows.
Flows: sign-in policy without code
Flows is new in the open-source edition. A flow attaches to one of five triggers: pre-signup, post-signup, pre-signin, post-signin, pre-token. Conditions support 15 operators including inNetwork; actions include deny, require MFA, add a claim, set a user field, add or remove groups and roles, call an HTTP hook, send email and stop.
Typical uses: skip MFA inside the office network and require it outside; reject disposable email domains at signup; add users to a department group based on their email domain; add a JWT claim before token issuance. Flows are edited visually, with templates and a test panel that runs a flow for a chosen user and shows which condition matched at each step.
Device trust, adaptive risk, and a batch of protocol work
Device trust is open source. An organization can set deviceTrust to Signal or Required. The device agent (open source, v0.1.0) reports disk encryption, firewall and screen lock status and signs a short-lived assertion locally at sign-in. Under Required, only trusted devices can sign in, and trusted devices can sign in without a password.
Adaptive risk is part of the commercial edition: it scores each sign-in on IP change, device and user agent, denies high-risk attempts and requires MFA for medium ones.
The same period added:
- PAR (RFC 9126) and OIDC CIBA
- Sliding sessions, step-up MFA, and a "My sessions" page that can sign out individual sessions
- Revoking an application's consent now expires its tokens immediately
- Client secret rotation with a grace period for the previous secret
- Password validation reports every unmet rule at once
- Blocking sign-ups from chosen domains and disposable email domains
-
<key>_FILEenvironment variables for reading config values from files - Trusted organizations, whose providers may reach the intranet
- Gmail (XOAUTH2) and Microsoft Graph sendMail email providers
- Stable API error codes, JSON 404 for unknown APIs and 400 for malformed requests
Try it
docker run -p 8000:8000 casbin/casdoor-all-in-one Open http://localhost:8000 and sign in with admin / 123. Flows is in the sidebar, Migrations under its own page, device trust in the organization settings.
- Repository: https://github.com/casdoor/casdoor
- Marketplace: https://marketplace.casdoor.com
- Docs: https://casdoor.ai
- Demo: https://demo.casdoor.com (writable, reset every five minutes), https://door.casdoor.com (read-only)
Migrations, Flows, device trust and the session and protocol work are in the open-source edition. Adaptive risk, the seven extra MCP resource types and the Web3 wallet plugin require the commercial edition. Apache 2.0, self-hosted.
