#3333rd of 102 in Backends, databases and hosting

casdoor

Self-hosted SSO and identity provider with web console

Stars
14.8k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Go
Stars, last 29 weeks+1,531
21 Apr 2026: 13,297 stars28 Apr 2026: 13,367 stars5 May 2026: 13,415 stars12 May 2026: 13,463 stars19 May 2026: 13,510 stars26 May 2026: 13,545 stars2 Jun 2026: 13,590 stars9 Jun 2026: 13,635 stars16 Jun 2026: 13,677 stars23 Jun 2026: 13,717 stars30 Jun 2026: 13,761 stars7 Jul 2026: 13,807 stars14 Jul 2026: 13,850 stars21 Jul 2026: 13,905 stars28 Jul 2026: 13,990 stars4 Aug 2026: 14,044 stars11 Aug 2026: 14,091 stars18 Aug 2026: 14,156 stars25 Aug 2026: 14,211 stars1 Sept 2026: 14,269 stars8 Sept 2026: 14,325 stars15 Sept 2026: 14,370 stars22 Sept 2026: 14,422 stars29 Sept 2026: 14,461 stars6 Oct 2026: 14,488 stars13 Oct 2026: 14,551 stars20 Oct 2026: 14,611 stars27 Oct 2026: 14,684 stars3 Nov 2026: 14,751 stars10 Nov 2026: 14,828 stars

13,297 on 21 Apr 202614,828 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Before you pick it

  • Known advisory in latest version. 28 known advisories: github.com/casdoor/casdoor v1.1000.0, the latest version. Source (opens in a new tab), checked .

Overview

Casdoor is a Go identity and access management server that stores users, issues tokens and provides a web console. It supports OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM 2.0, WebAuthn and TOTP/MFA, with social login via Google, GitHub and Entra ID. It also includes an MCP gateway and A2A support, and authorization uses Casbin models.

Who it is for: Teams that want to self-host SSO and own their user directory

Strengths

  • Many protocols on one user directory: OAuth, OIDC, SAML, CAS, LDAP, SCIM
  • Organizations, applications and providers editable in the UI without redeploy
  • Config as code via init data file and an official Terraform provider
  • SDKs for Go, Java, Python, Node.js, .NET, PHP and Rust, plus app Marketplace

Weaknesses

  • All-in-one Docker image keeps SQLite data in the container; not for production
  • Compose file builds from source, so first start takes several minutes
  • Running more than one replica requires Redis
  • Old Ant Design console is no longer built; upgrading from v3 to v4 needs a guide

What it needs

  • no GPU
  • Docker + Compose
  • Needs MySQL, PostgreSQL, SQLite or SQL Server, Redis (optional, needed for multiple replicas)
  • port 8000

Quick answers

Is casdoor open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Can you run casdoor with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license93 out of 100
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100