Casdoor
An open-source UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform
- GitHub stars
- 14,927
- Docker pulls
- 1,990,158
Keycloak
Open Source Identity and Access Management
- 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
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)

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)
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
| You | Pick |
|---|---|
| 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 app | Casdoor |
| you need an official Arch package and the largest community footprint | Keycloak |
| you are standardizing on Java and want a Cloud Native Computing Foundation incubation project | Keycloak |
| you want a Go-based SSO & Identity platform with only 94 open issues | Casdoor |
| you need CAS, LDAP, SCIM, WebAuthn, TOTP, MFA and Google Workspace or Azure AD integrations | Casdoor |
| you need identity brokering and user federation with OpenID Connect, OAuth 2.0 and SAML | Keycloak |
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.
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
| Dimension | Casdoor | Keycloak |
|---|---|---|
| Category | SSO & Identity | SSO & Identity |
| License | Apache-2.0 | Apache-2.0 |
| Primary language | Go | Java |
| GitHub stars | 14,927 | ▲37,504 |
| GitHub forks | 1,931 | ▲9,104 |
| Open issues | 92 | 3,347 |
| Docker pulls | 1,990,158 | ▲19,001,885 |
| Latest version | v4.30.0 | 26.8.1 |
| Platforms with an official client | 1 — Web | 1 — Web |
| Third-party clients | 0 | 0 |
| Deployment methods | 3 | 3 |
| Data last verified | Nov 23, 2026 | Oct 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).