qmetrics.net

Casdoor

Self-hosted identity provider with SSO and agent MCP gateway

Casdoor screenshot

Casdoor is an IAM server with a web console for users, apps, and providers. It issues tokens via OAuth, OIDC, SAML, CAS, LDAP, SCIM, and WebAuthn, and exposes an MCP gateway for AI tooling

Overview

Casdoor stores organizations, user directories, and application clients in one place so surrounding apps delegate sign-in instead of holding passwords. Administrators configure providers, sign-in methods, branding, and policies through the UI rather than redeploying configuration files.

The same user base can authenticate modern SPAs and legacy CAS-only software because one server speaks many protocols. Features include multi-tenant organizations, RBAC with Casbin policies, social and enterprise identity provider connectors, audit logs, and SaaS-style billing hooks on the platform edition.

For AI workloads, a built-in MCP gateway controls access to Model Context Protocol servers, and OpenClaw can ship OpenTelemetry traces into Casdoor entries for agent auditing. A marketplace offers one-click SSO recipes for tools such as Grafana, GitLab, Nextcloud, Vaultwarden, and Argo CD.

Deployment options include a single Go binary with MySQL, PostgreSQL, SQLite, or SQL Server, Docker and Docker Compose paths, Helm on Kubernetes, and a managed Casdoor Cloud offering. SDKs cover Go, Java, Python, Node.js, .NET, PHP, Rust, and other languages.

Key features

  • OAuth 2.0 and OIDC authorization server
  • SAML 2.0 and CAS enterprise SSO
  • LDAP directory sync or LDAP service
  • SCIM 2.0 provisioning
  • WebAuthn and MFA methods
  • MCP gateway for agents
  • Multi-tenant organizations
  • Marketplace app integrations

Use cases

  • Central SSO for internal applications
  • Enterprise federation with Entra ID or Google
  • Agent and MCP access control
  • Customer identity for SaaS products
  • Legacy CAS application login

Does the same job as

Casdoor doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Casdoor

Similar software

Sa-Token

Java lightweight permission and session framework

Sa-Token adds login, permission checks, SSO, OAuth2, and microservice gateway auth to Java web projects with minimal boilerplate.

★ 19.1k⟳ 10 days agoApache-2.0

Node Jsonwebtoken

Node.js library for signing and verifying JSON Web Tokens

jsonwebtoken implements JWT creation and verification for Node.js using HMAC, RSA, ECDSA, and related algorithms. It exposes sign, verify, and decode helpers built on node-jws.

★ 18.2k⟳ 5 months agoMIT
Application SecurityDesktop/CLI app

OAuth2 Proxy

OAuth2 and OIDC reverse proxy authentication

OAuth2 Proxy sits before web apps as reverse proxy or middleware, sends users through OAuth2 or OIDC login, supports many identity providers, and can forward user details to upstream apps as headers

★ 15.4k⟳ 19 days agoMIT

SuperTokens

Open-source user login and session management

SuperTokens adds sign-up, sign-in, and session handling to applications through frontend SDKs, backend SDKs, and a core HTTP auth service.

★ 15.3k⟳ todayApache-2.0 · open core
Open Source Alternative to:Amazon CognitoAuth0+2

CASL

Isomorphic TypeScript authorization for apps and APIs

CASL limits which resources a user may access using declarative rules shared across frontend, backend, and database layers.

★ 7.1k⟳ 4 days agoMIT
Application SecurityDesktop/CLI app

OpenFGA

Fine-grained authorization engine inspired by Zanzibar

OpenFGA is an authorization and permission engine with HTTP and gRPC APIs, pluggable storage, and a modeling playground for relationship-based access checks.

★ 6.2k⟳ 7 days agoApache-2.0
Open Source Alternative to:PlainID