Skip to content
OpenSourceSoftware.ai
Casdoor logo

Casdoor

casdoor · Single sign-on servers

What is Casdoor?

Casdoor is a complete identity provider that you host yourself, rather than a library you embed. It stores your users, issues tokens and gives you a web console, so your applications can hand login over to it. It is Apache-2.0, and it publishes comparisons with Auth0 and Okta.

Casdoor is a self-hosted identity and access management platform: a single sign-on and authentication server with a web console. It speaks OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM 2.0, WebAuthn, TOTP and MCP, and connects to providers such as Google Workspace, Microsoft Entra ID and GitHub.

Core capabilities

  • One user directory reachable over OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP and SCIM.
  • Organizations, sign-in methods, templates and branding are edited in the web console.
  • A single Go binary plus a database, with an all-in-one Docker image to try it.

Protocols and providers

The same user directory is reachable over OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP and SCIM 2.0, with WebAuthn and TOTP for stronger sign-in. It connects to Google Workspace, Microsoft Entra ID, GitHub and many other identity providers.

  • OIDC
  • SAML
  • LDAP

Everything in the web console

Organizations, applications, providers, sign-in methods, email and SMS templates and login-page branding are set in the web console instead of in files you redeploy. Policy-based authorization is built in.

  • Admin console
  • Authorization

Self-host or Casdoor Cloud

Casdoor is a single Go binary plus a database, and an all-in-one Docker image runs it on SQLite for evaluation. Casdoor Cloud runs a dedicated instance with flat monthly pricing and no per-user fees, and it is the same open-source Casdoor, so you can move between the two.

  • Apache-2.0
  • Docker
  • Casdoor Cloud

Where it fits

Use cases

  1. 01

    Give all your apps one sign-in

    Applications delegate login to Casdoor and never handle a password themselves. It stores the users, issues the tokens and gives you an admin console.

  2. 02

    Connect new and legacy apps

    A modern single-page app and an older CAS-only system can share one set of accounts, because the same directory is reachable over several protocols.

  3. 03

    Move off Auth0 or Okta

    Casdoor publishes comparisons with Auth0, Okta and Keycloak. You can run it yourself, or use Casdoor Cloud and move between the two.