Skip to content

Casdoor vs Keycloak

Identity and access management with OAuth 2.0, OIDC, SAML, CAS, LDAP, and SCIM. Single sign-on and user federation for applications. Compare the capabilities you need, then check hosting, licensing and maintenance. This pair is shown for browsing but is not indexed (not among the leading projects of a shared category).
Casdoor vs Keycloak
AttributeCasdoorKeycloak
PurposeIdentity and access management with OAuth 2.0, OIDC, SAML, CAS, LDAP, and SCIM.Single sign-on and user federation for applications.
Documented capabilitiesOAuth 2.0, OIDC, SAML, CAS, LDAP, and SCIM, Web UI for organizations, apps, and login branding, Casbin-based ACL, RBAC, and ABAC, Configuration as code with init files and TerraformSingle sign-on, OIDC and SAML, User federation
Best-fit workflowTeams that need one sign-in service for modern and legacy apps.Platform teams putting one login in front of several applications.
Check before choosingTest each protocol your apps use in staging before you move users.Keycloak is an identity system, not a drop-in widget. Plan themes, realms, and upgrades.
Deployment optionsDocker, Docker Compose, Kubernetes with HelmDocker, Kubernetes
GitHub stars14,59237,379
LicenseApache-2.0Apache-2.0
Self-hostedYesYes
Docker notedYesYes
Cloud / hostedYesNot recorded
Primary languageGoJava
Last commit2026-10-162026-10-16
DifficultyModerateAdvanced
Content sourceEditorial catalog entryEditorial catalog entry
Metadata checkedCheck the current repository2026-10-16
Forks1.9k9.1k
Star growthNot recorded+301 (2026-10-01 to 2026-10-16)
Alternative toAuth0, OktaAuth0, Okta

This comparison uses recorded capabilities, not hands-on performance tests. A capability missing from one record does not mean that product lacks it. Confirm edition, version and current pricing in the official documentation.

When to consider Casdoor

Teams that need one sign-in service for modern and legacy apps.

Test each protocol your apps use in staging before you move users.

Casdoor documentation and source

Casdoor project page · Authentication

When to consider Keycloak

Platform teams putting one login in front of several applications.

Keycloak is an identity system, not a drop-in widget. Plan themes, realms, and upgrades.

Keycloak documentation and source

Keycloak project page · Authentication

Casdoor vs Keycloak questions

What is Casdoor?
Identity and access management with OAuth 2.0, OIDC, SAML, CAS, LDAP, and SCIM.
What is Keycloak?
Single sign-on and user federation for applications.
Can you self-host Casdoor and Keycloak?
Both can be self-hosted.
What licenses do Casdoor and Keycloak use?
Casdoor uses the Apache-2.0 license. Keycloak uses the Apache-2.0 license.
Which has more GitHub stars, Casdoor or Keycloak?
Keycloak has 37k stars and Casdoor has 15k. Stars show attention; check recent commits and releases for maintenance.
What languages are Casdoor and Keycloak written in?
Casdoor is mainly written in Go. Keycloak is mainly written in Java.

Related