Skip to content
Authentication

Casdoor

Identity and access management with OAuth 2.0, OIDC, SAML, CAS, LDAP, and SCIM.

See how Casdoor fits among Auth0 alternatives and alternatives to Okta.

Repository updated

15k starsApache-2.0GoBothUpdated

Repository counts and activity are catalog snapshots. Check GitHub for current values; a metadata review date is not recorded.

At a glance

Unverified

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

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

Run
Hosted or self-host
Effort
Moderate
Deploy
DockerDocker ComposeKubernetes with Helm
License
Apache-2.0
Replaces
Auth0
Activity
Active · today

Overview

Casdoor serves one user directory over OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, and SCIM. Organizations, applications, identity providers, sign-in methods, and login-page branding are edited in the web UI, and authorization rules use Casbin models such as RBAC and ABAC. It runs as a single Go binary with a database, through Docker or Helm, and settings can be kept as code.

What it does

  • OAuth 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 Terraform

Capability source: Project documentation

Who Casdoor fits

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

How you run it

Casdoor has hosted and self-hosted options.

Documented deployment options: Docker, Docker Compose, Kubernetes with Helm.

Go projects · Apache-2.0 projects · Authentication

Before you choose it

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

Self-hosting and deployment

Self-hostable
Yes
Cloud / hosted offering
Yes
Docker noted in deployment tags
Yes
Deployment tags
Docker, Docker Compose, Kubernetes with Helm
Difficulty
Moderate

Casdoor questions

What is Casdoor?
Identity and access management with OAuth 2.0, OIDC, SAML, CAS, LDAP, and SCIM. It is listed under Authentication on PickOpenSource.
Is Casdoor open source?
Yes. Its source code is public on GitHub under the Apache-2.0 license.
Can you self-host Casdoor?
Yes. Listed deployment options: Docker, Docker Compose, Kubernetes with Helm. A hosted version is also available.
Is Casdoor free?
Pricing is not recorded in this catalog. Check the official website for hosted plans and edition limits, and the Apache-2.0 license for usage conditions. Self-hosting also requires infrastructure and maintenance.
What are alternatives to Casdoor?
Casdoor is listed as an open-source alternative to Auth0 and Okta. Similar authentication projects include Keycloak, Authelia, and Authentik.
Is Casdoor actively maintained?
The latest commit on GitHub was October 16, 2026, and the repository has 15k stars.

Related projects

Other approved projects in Authentication: Keycloak, Authelia, Authentik.

Maintain Casdoor? Add the README badge

Listed on PickOpenSource
[![Listed on PickOpenSource](https://pickopensource.site/api/badge/casdoor)](https://pickopensource.site/project/casdoor)

Claim this listing to edit its profile, add a screenshot, and see listing analytics.