Casdoor logo

Casdoor

An open-source UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform

Apache-2.01 official clientData verified
GitHub stars
14,927
Docker pulls
1,990,158
Keycloak logo

Keycloak

Open Source Identity and Access Management

Apache-2.01 official clientData verified
GitHub stars
37,504
Docker pulls
19,001,885

What are Casdoor and Keycloak?

Screenshots, feature checklists and deployment channels from the same database rows.

Casdoor — product screenshot
Screenshot from https://opengraph.githubassets.com/41353e5ef0bd3f99b7fd65770f15b5a452788e0606f09509a99b6f92f9ae7667/casdoor/casdoor · captured 2026-10-29 · Nominative fair use illustration for factual comparison; takedown requests honoured within 48h.

Casdoor

An open-source UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform

Key features

  • One user directory across protocols
  • UI-managed apps, providers and branding
  • Casbin policy-based authorization
  • Single Go binary plus a database

AI-drafted from upstream quotes — pending human review

System requirements
Go 1.26+, Node.js 20 LTS, Yarn 1.x, supported database
  • Build from source
  • Docker
  • Package (deb/rpm)(community)
Full profile
Keycloak — product screenshot
Screenshot from https://www.keycloak.org/preview/index.png · captured 2026-10-29 · Nominative fair use illustration for factual comparison; takedown requests honoured within 48h.

Keycloak

Open Source Identity and Access Management

Key features

  • Add authentication with minimum effort
  • User federation
  • Strong authentication
  • Fine-grained authorization

AI-drafted from upstream quotes — pending human review

System requirements
Not documented
  • Build from source
  • Docker
  • Package (deb/rpm)
Full profile

Quick verdict

Casdoor and Keycloak are Apache-2.0 SSO & Identity platforms; Casdoor is a Go-based UI-first IAM with LLM agent gateway features, while Keycloak is a Java-based CNCF incubation project.

ai:verdict:schema · ai_extract · confidence mediumupdated Nov 23, 2026AI-drafted · pending human review

YouPick
you want a UI-first IAM that also acts as an MCP & agent gateway for LLM agents, and you don't need a first-party mobile appCasdoor
you need an official Arch package and the largest community footprintKeycloak
you are standardizing on Java and want a Cloud Native Computing Foundation incubation projectKeycloak
you want a Go-based SSO & Identity platform with only 94 open issuesCasdoor
you need CAS, LDAP, SCIM, WebAuthn, TOTP, MFA and Google Workspace or Azure AD integrationsCasdoor
you need identity brokering and user federation with OpenID Connect, OAuth 2.0 and SAMLKeycloak

Scenario rows are drafted from database facts only (stars, forks, open issues, Docker pulls, license, language, deployment officiality, client platforms). No RAM, price or performance claim appears — the schema has no such fields.

What I'd do

I would deploy Keycloak for a general-purpose internal SSO rollout. It has an official Docker image, an official Arch package, 19,001,885 Docker pulls, and standard protocols like OpenID Connect, OAuth 2.0 and SAML. If my team needed LLM agent gateway features or a Go service with 94 open issues, I would pick Casdoor instead. Both are Apache-2.0 and web-based, so the choice comes down to ecosystem weight versus UI-first extras.

Cited from the database (19)
  • CasdoorlicenseApache-2.0
  • KeycloaklicenseApache-2.0
  • CasdoorcategorySSO & Identity
  • KeycloakcategorySSO & Identity
  • Casdoorprimary_languageGo
  • Keycloakprimary_languageJava
  • CasdoortaglineUI-first Identity and Access Management (IAM)
  • CasdoordescriptionMCP & agent gateway for LLM agents
  • CasdoordescriptionThere is no official first-party mobile app.
  • KeycloakdescriptionCloud Native Computing Foundation incubation project
  • Keycloakserver_deployments.packageofficial
  • Keycloakgithub_stars37504
  • Keycloakdocker_pulls19,001,885
  • Casdooropen_issues94
  • Casdoordescriptionsupporting OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA and integrations with Google Workspace and Azure AD
  • Keycloakdescriptionproviding single sign-on, identity brokering, user federation and standard protocols (OpenID Connect, OAuth 2.0, SAML)
  • Keycloakserver_deployments.dockerofficial
  • Casdoorclient_platforms.webavailable
  • Keycloakclient_platforms.webavailable

Every value above is a database value or a standard written variant of it (for example 29,401 / 29.4k), verified field by field by the QA gate. A = Casdoor, B = Keycloak (alphabetical order, same as this page's URL).

Side-by-side comparison

DimensionCasdoorKeycloak
CategorySSO & IdentitySSO & Identity
LicenseApache-2.0Apache-2.0
Primary languageGoJava
GitHub stars14,927▲37,504
GitHub forks1,931▲9,104
Open issues923,347
Docker pulls1,990,158▲19,001,885
Latest versionv4.30.026.8.1
Platforms with an official client1 — Web1 — Web
Third-party clients00
Deployment methods33
Data last verifiedNov 23, 2026Oct 29, 2026

▲ = leads on countable metrics only (stars, forks, Docker pulls, official-client platforms, third-party clients, deployment methods). License, language, latest version, open issues and verification dates are shown side by side without a verdict — they are facts, not scores. Verification state per platform is on each app profile page.

Where each side leads

Where Casdoor leads0

No countable metric where Casdoor is ahead of Keycloak in the database.

Where Keycloak leads3

  • GitHub stars — 37,504
  • GitHub forks — 9,104
  • Docker pulls — 19,001,885

Pricing

Casdoor

Not documented

The schema has no pricing or paid-tier field, so no price is claimed for this app.

Keycloak

Not documented

The schema has no pricing or paid-tier field, so no price is claimed for this app.

Licence (Apache-2.0 vs Apache-2.0) is the only cost-related field the database records, and it is a fact rather than a price.

Frequently asked questions

Are Casdoor and Keycloak open source?

Casdoor is licensed under Apache-2.0, verified Oct 27, 2026. Keycloak is licensed under Apache-2.0, verified Oct 25, 2026.

Which one has more github stars?

Casdoor has 14,927 stars and Keycloak has 37,504, both captured Nov 23, 2026.

Can I run Casdoor and Keycloak with Docker?

Casdoor: yes — 1 Docker image recorded (casbin/casdoor). Keycloak: yes — 1 Docker image recorded (keycloak/keycloak).

All comparisons →

Platform matrices