mrkeyoor.comAsk

casdoor/casdoortested 23 Aug 2026commit e6b2338

casdoor review

Casdoor merits an evaluation when owning the user directory and managing several applications through one console fit the job.

  • Install 194 s
  • Build 158 s
6/14passed, run exited non-zero
  • 807 packages
Self-Hostedevaluationupdated 25 Oct 2026
+44stars / 7d

Casdoor is an open-source, self-hosted identity and access management server with a web admin console. Its documentation lists OAuth 2.0, OpenID Connect, SAML, CAS, LDAP, SCIM, passkeys and MFA, plus MCP-related capabilities. These are documented capabilities, not interoperability results from our sandbox.

Verdict

Casdoor merits an evaluation when owning the user directory and managing several applications through one console fit the job. Our August 23, 2026 run at e6b2338 recorded completed dependency and build steps, vet diagnostics and a failing test command. Its package summaries do not establish an individual-test pass rate or prove that a deployed identity service is broken. The cited sign-in and session reports now show closures or maintainer-reported fixes, so they should inform release-specific acceptance checks rather than blanket exclusions. Connect one representative application to a pinned release and verify its required login, logout and revocation behavior before expanding the deployment.

We ran it

Lab card: what happened when we ran casdoor
Lab card from our sandbox run
Screenshot of casdoor (casdoor.ai)
casdoor.ai
Install✓ · 194s807 packages
Build✓ · 158s
Tests✗ · 47s6 passed · 8 failed of 14 (go test)
Repo881 files~158,290 lines of source · 25.7 MB · 3 CI workflows · Dockerfile

Answers from our run

Does casdoor build from source?

Dependencies installed in 194 seconds (807 packages), and the build succeeded in 158 seconds. We cloned commit e6b2338 into a clean Debian container with 3 CPUs and no project-specific setup.

Do casdoor's tests pass?

No. The project's own test command finished in 47 seconds and reported 6 passed, 8 failed (go test).

Who should not use casdoor?

Teams seeking only a login screen in front of an existing reverse proxy; Casdoor also owns the user directory and issues tokens.

What are the alternatives to casdoor?

Keycloak, authentik. Casdoor merits an evaluation when owning the user directory and managing several applications through one console fit the job.

Setup3/5The README distinguishes the SQLite evaluation image from source and production routes. Our dated source run completed dependency and build steps but retained vet diagnostics and a failing test command; a working deployment was not verified.
Docs4/5The supplied README gives prerequisites, separate Docker/Compose/Helm/source paths and concrete production configuration precautions. This assesses the supplied documentation, not every linked guide.
Community2/5The supplied issue histories document maintainer responses and closures. Adoption, response-time consistency and support capacity are unmeasured; star counts are not used as evidence of support quality.
Maturity3/5The documentation describes a broad IAM service, and the issue histories record follow-up fixes. Our run does not establish deployed interoperability, runtime reliability or security assurance.

Discussed on

  1. hnCasdoor: Open-source IAM and SaaS management solution4 points

Who it’s for

Teams that want to own their user directory and manage applications, organizations and sign-in settings through a web console.
Organizations evaluating a shared identity service for applications that use different authentication protocols.
Operators prepared to maintain a database, configure providers and validate login and logout behavior on a pinned release.
Developers who can distinguish a source-check result from a working deployment.

Who it’s NOT for

Teams seeking only a login screen in front of an existing reverse proxy; Casdoor also owns the user directory and issues tokens.
Operators expecting the disposable SQLite demo to provide production persistence.
Buyers who need this review to establish protocol compatibility, runtime reliability or security assurance. Our recorded run did not establish those outcomes.
Teams unable to validate upgrades and session behavior in their own deployment.

Setup reality

In our recorded run on August 23, 2026, at commit e6b2338f8955455254ec2f48ef0a0390cbef9ec5, the dependency step completed in 194 seconds and recorded 807 dependencies. This was not verification of an installed Casdoor binary. The build step was marked successful after 158 seconds, but its tail also reported vet-exit:1, an unkeyed struct literal and unreachable code.

The test command exited 1 after 47 seconds. The parser recorded six packages OK, eight packages failing and 20 packages without tests. These are package summaries, not six passing individual tests out of 14. Exhaustive unique test coverage was not reconciled. The XLSX failure explicitly names the missing path ../../tmpFiles/example; other tail entries include missing configuration, version lookup failures and panics.

The recorded environment had 3 CPUs, 8 GB of RAM and image golang:1.24-bookworm. The dependency tail shows a Go 1.25.8 toolchain download, and test stack paths reference that toolchain. The image label alone does not establish the runtime version. No browser login, installed-binary check, protocol interoperability check or measured application workload is evidenced by this record.

The README's all-in-one SQLite image is an evaluation route, not a production deployment. Source prerequisites are Go 1.25+, Node.js 20 LTS, Yarn 1.x and a supported database. Production guidance includes changing demo credentials, HTTPS, a public origin and reviewing sample configuration and secrets. Redis is documented as necessary for multiple replicas.

Casdoor puts the user directory under your control

Choosing Casdoor means operating the service that stores users and issues their tokens. Its web console manages organizations, applications, providers and sign-in settings. That makes it relevant to teams consolidating identity across several applications, while also making database operation and release validation part of the decision.

The Casdoor README lists OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP and SCIM, alongside WebAuthn/passkeys and TOTP/MFA. It describes Casbin-based authorization using ACL, RBAC, ABAC and custom models. These are project descriptions. Our sandbox did not verify their compatibility with particular clients.

The README also advertises an MCP gateway and A2A support. The overview documentation describes a management API exposed as an MCP server and an OAuth 2.1 authorization server for MCP servers. Those descriptions warrant a targeted evaluation if agent access is part of your requirements; this review supplies no MCP workload or client-compatibility result.

What our recorded run establishes

Our run took place on August 23, 2026, at commit e6b2338f8955455254ec2f48ef0a0390cbef9ec5. The checkout contained 881 files, approximately 158,290 source lines and 25.7 MB. The recorded environment had 3 CPUs, 8 GB of RAM and image golang:1.24-bookworm. The logs show a Go 1.25.8 toolchain download and test stack paths using it.

The dependency step completed in 194 seconds and recorded 807 dependencies. That is a dependency-step observation, not proof that a Casdoor CLI or server binary was installed and checked.

The build step was marked successful after 158 seconds. Its retained tail also contains vet-exit:1, a warning about an unkeyed struct literal in storage/casdoor.go and unreachable code in service/proxy.go. The successful step status therefore does not mean all static checks passed. The record does not provide a separate installed-binary or running-server check.

The test command ran for 47 seconds and exited 1. The raw parser summary records six packages OK, eight packages failing and 20 packages without tests. The six and eight figures describe packages, not individual test cases. The stored summary does not establish exhaustive unique test coverage, and no complete-log reconciliation or new execution was performed for this correction.

The retained test tail provides more useful detail than a pass percentage. TestReadSheet panicked while opening the missing path ../../tmpFiles/example inside xlsx.ReadXlsxFile, with the stack pointing to xlsx.go line 22. Other entries include a missing conf/app.conf, version lookups returning object not found, and panics in sync_v2 and util. These observations identify prerequisites and failures to investigate; they do not establish a single cause for every failing package or prove that a configured production deployment is broken.

This run does not establish browser login success, OAuth or SAML interoperability, LDAP or SCIM behavior, MFA or passkey behavior, token revocation, MCP compatibility, throughput or runtime reliability. The source-check timings also do not measure the README's advertised 30-second container trial.

Start with the disposable demo, then connect an application

The README's all-in-one image runs Casdoor on port 8000 with SQLite and sample data. The demo organization is built-in, the username is admin and the password is 123. The organization and username are separate fields. The README warns that this image is for evaluation: its data lives inside the container and disappears with it.

For source development, the documented prerequisites are Go 1.25+, Node.js 20 LTS, Yarn 1.x and a supported database. Docker Compose builds the Go backend and React frontend beside MySQL 8, so it is a different setup path from the prebuilt all-in-one trial. Helm requires a cluster; the README calls for ingress and an external database configuration for a real deployment. Redis is documented as necessary when running more than one replica.

Before internet exposure, follow the project's guidance to change the built-in admin password, use HTTPS, set the public origin, review database credentials and provider secrets, set runmode = prod and keep showSql = false. Plan persistence, backups and upgrade checks around your deployment. A useful first acceptance exercise is to connect one representative application and verify sign-in, refresh, logout and administrative session deletion on the exact release you intend to run.

The cited issue reports now have follow-up outcomes

The sign-in and session reports remain useful reading, but their current extracts do not support presenting all four as unresolved defects.

Issue 5761 reported that hidden sign-in methods could still be accepted by backend checks and that an empty method list could enable Face ID. The reporter tested casbin/casdoor:3.159.0. The issue was closed through 5762 on August 27, 2026, and the release bot states that it was resolved in version 3.160.1. We did not reproduce the report or verify the fix.

Issue 5737 reported that deleting a browser session left its OAuth tokens valid. On September 1, 2026, a maintainer reported a fix in 39ab84b that associates tokens with sessions and revokes those tokens when the session is deleted. The issue was closed that day. This is a maintainer-reported implementation outcome, not a revocation test from our run.

Issue 5585 reported a missing sid claim in back-channel logout tokens. Its history includes a maintainer's fix reference c09015f, a reopening on June 21 and closure as completed on September 1, 2026. That history supports checking the selected release with the relying party you use; it does not support calling the report currently open or claiming independently verified interoperability.

Issue 5631 requested an identity-provider-only portal. On September 1, 2026, a maintainer reported adding a per-organization Disable console switch in 75253ac. The comment explicitly describes a UI restriction for non-admin users, not an API permission change. The issue was closed as completed.

These follow-ups postdate our August 23 run. They do not retroactively change its measurements, and our old checkout cannot validate them. The supplied v3.159.0 release page dates that release to August 25, 2026, and lists an LDAP edit-page enableGroups feature. It is release context, not the version identifier of our earlier checkout.

How to read the scores

The scores are editorial assessments of the supplied evidence, not benchmark results or security ratings. On this five-point rubric, 1 means substantial documented obstacles, 2 means limited supporting evidence, 3 means a documented path with material validation still needed, 4 means detailed supporting documentation or demonstrated results within the assessed scope, and 5 requires broad corroborated evidence. Unknown adoption or compatibility does not earn a high score.

Setup is 3/5 because the README separates evaluation and development routes, while our source-check record includes vet diagnostics and test failures. Documentation is 4/5 for concrete prerequisites, deployment distinctions and configuration precautions; that score does not validate every linked guide. Community is 2/5 because the supplied issue histories show maintainer responses but do not measure adoption, response-time consistency or support capacity. Maturity is 3/5 because the project documents a broad IAM role and follow-up fixes, while this review lacks deployed interoperability and reliability evidence.

Compare alternatives by the identity job

Keycloak documents user federation, strong authentication, user management and fine-grained authorization. Put it on the evaluation list when those capabilities define the project. The supplied extract does not establish that it is more reliable or easier to operate than Casdoor.

authentik describes a self-hosted SSO identity provider supporting SAML, OAuth2/OIDC, LDAP and RADIUS. Its documented split between Docker Compose for small or test setups and Helm for larger setups gives operators a concrete deployment question to compare.

For Casdoor, the next useful result is a working integration and session-lifecycle check on your pinned release. Our recorded source run helps identify what still needs checking; it does not replace that evaluation.

Alternatives

ProjectWhat it isPick it when
Keycloak gh↗An open-source identity and access management server for applications and services.Evaluate Keycloak when user federation, strong authentication and fine-grained authorization are central requirements. Its README explicitly lists those capabilities; the supplied evidence does not establish comparative reliability or ecosystem size.
authentik gh↗An open-source identity provider for modern SSO, designed for self-hosting.Evaluate authentik when your requirements include SAML, OAuth2/OIDC, LDAP or RADIUS. Its README recommends Docker Compose for small or test setups and Kubernetes with Helm for larger setups.

What people are saying

  1. [github-trending] casdoor/casdoor

Sources

  1. Casdoor repository and README
  2. Casdoor documentation
  3. Casdoor v3.159.0 release
  4. Hidden sign-in method report
  5. Session deletion and OAuth token report
  6. Back-channel logout sid report
  7. Identity-provider-only mode request

More self-hosted reviews