Skip to main content

Open-source identity and access management

Single sign-on, MFA and user management for your applications, your customers and your AI agents. Run Casdoor on your own servers for free, or let us host it for you.

Listed in the CNCF Cloud Native Landscape and awarded the OpenSSF Best Practices badge

CNCF Cloud Native LandscapeCNCF Cloud Native LandscapeOpenSSFOpenSSFOpenSSF Best Practices: passing
auth.acme.example.com/applications
Applications in the Casdoor admin consoleApplications in the Casdoor admin console
A Casdoor sign-in page with Google, GitHub, Microsoft, Apple and OktaA Casdoor sign-in page with Google, GitHub, Microsoft, Apple and Okta

Used in production by teams at

  • Daimler Truck
  • Tencent
  • Bosch
  • Volkswagen
  • LOTTE
  • NAVER
  • CNPC
  • iFLYTEK
  • Percona
  • Apache APISIX
  • Apache DolphinScheduler
  • Apache Pulsar
14.9kGitHub stars
2.5M+Docker pulls
300+contributors
70+built-in identity providers

Built for every kind of login

One login for every internal app

Connect Grafana, GitLab, Nextcloud and your own applications to Casdoor over OIDC, SAML or CAS. Employees sign in once with their company account and a second factor, and reach every app from there.

Key capabilities

  • OAuth 2.0 and OpenID Connect provider
  • SAML 2.0 identity provider and CAS server
  • LDAP and RADIUS for legacy systems and VPNs
  • Sync from Active Directory, Okta and Google Workspace
  • TOTP, passkeys and step-up MFA
  • Session management and single sign-out
Connect an application
auth.acme.example.com/applications
Applications in the Casdoor admin consoleApplications in the Casdoor admin console

Works with the stack you already have

Casdoor speaks OpenID Connect, OAuth 2.0, SAML and CAS, so most frameworks and off-the-shelf apps connect with their existing login settings. For everything else there are SDKs and a REST API.

SDKs: Go, Java, Spring Boot, Node.js, Python, PHP, .NET, Rust, Ruby, React, Vue, Angular, Flutter, iOS, Android, Unity

# Start Casdoor with an embedded database
docker run -p 8000:8000 casbin/casdoor-all-in-one

# Open http://localhost:8000, set the admin password
# and sign in to the admin console as built-in/admin

Open source, Apache-2.0

The whole open-source edition is on GitHub under the Apache-2.0 license, with no limit on users. Casdoor holds the OpenSSF Best Practices badge and is listed in the CNCF Cloud Native Landscape.

OpenSSF Best PracticesLicenseGitHub stars

Compare Casdoor with Keycloak, Auth0, Authentik, Logto

Try Casdoor

Look around the live demo, or start your own instance with Docker. Questions are welcome on Discord.