qmetrics.net
Better AuthComposable TypeScript authentication and authorization framework CasdoorSelf-hosted identity provider with SSO and agent MCP gateway

Better Auth vs Casdoor

How Better Auth and Casdoor compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Stytch.

At a glance

Side by side

Better AuthCasdoor
GitHub stars★ 30,910★ 14,972
Forks3,1191,937
Last committoday2 days ago
Latest versionv1.7.28v4.32.0
Repository startedMay 2024October 2020
LicenseMIT · permissiveApache-2.0 · permissive
Self-hostedDesktop/CLI appYes
PlatformsWeb, CLIDocker, Web
Main languageTypeScriptGo
Alternative toStytchAmazon Cognito, Auth0, Okta, Ping Identity, Stytch

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.

Better Auth

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

Key features

  • TypeScript auth configuration in code
  • Email and password sessions
  • Social OAuth providers
  • Plugin-based feature extensions
  • Organizations, roles, invitations
  • Enterprise SSO and SCIM plugins

Casdoor

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

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

More comparisons

Report a mistake on this page