TiloBox
Back to directory
Casdoor project preview

Casdoor

Open-source identity and access management platform supporting OAuth 2.0, OIDC, SAML, and MCP.

LicenseApache-2.0
GitHub stars14.0k
Last commit1 weeks ago
Tags6 topics
SsoOauth2IamOidcSamlMcp
Overview

Why consider Casdoor?

Casdoor is a self-hosted single sign-on and authentication platform featuring a web management console. It allows engineering teams to centralize user identities across standard protocols like OIDC, SAML, and OAuth 2.0.

Guided learning

Learn Casdoor by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

2 min read 4 sections
In this guide4 sections

Overview and Protocol Architecture

Casdoor is a single sign-on (SSO) and authentication server with a web console that supports OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM 2.0, WebAuthn, TOTP/MFA, and MCP protocols. As a complete identity provider (not an authentication proxy), it stores users, issues tokens, and provides an admin console to manage everything.

Casdoor is straightforward to self-host with a single Go binary and a database. No JVM, no operator, no cluster required.

Local Deployment and Quickstart

bash
1docker run -p 8000:8000 casbin/casdoor-all-in-one

Once the container is operational, connect to the web console on port 8000. The sign-in interface uses separate organization and username fields, with initial default access configured for the built-in organization (username: admin, organization: built-in).

Console Configuration and Multi-Tenancy

Organizations, applications, providers, sign-in methods, and branding are configured in the web console instead of requiring configuration file edits and redeployments. This allows platform teams to adjust login flows, configure social identity providers, and customize login page branding without modifying static server configuration files.

Authorization Model

Access rules in Casdoor are expressed with Casbin supporting ACL, RBAC, ABAC, and custom authorization models. Because permissions are integrated with the identity system, teams can define role assignments and tenant-specific access policies alongside user accounts.

The project is licensed under the Apache License Version 2.0.

Related tools

More options with a similar category or technology profile.

Casdoor FAQs

Casdoor is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

Casdoor is listed under the Apache-2.0 license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

Casdoor is listed as an alternative to Okta. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.