AutheliaSelf-hosted SSO portal with multi-factor authentication
CasdoorSelf-hosted identity provider with SSO and agent MCP gateway
Authelia vs Casdoor
How Authelia and Casdoor compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Amazon Cognito, Auth0 and Stytch.
At a glance
- Authelia has more GitHub stars (29.8k vs 15k).
- Both are actively maintained (last commits today and 2 days ago).
- Both use the Apache-2.0 license.
- Both can be self-hosted.
- Authelia is the older project (repository started 2016; Casdoor in 2020).
Side by side
| Authelia | Casdoor | |
|---|---|---|
| GitHub stars | ★ 29,753 | ★ 14,972 |
| Forks | 1,559 | 1,937 |
| Last commit | today | 2 days ago |
| Latest version | v4.39.28 | v4.32.0 |
| Repository started | December 2016 | October 2020 |
| License | Apache-2.0 · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Linux, Docker, Web | Docker, Web |
| Main language | Go | Go |
| Alternative to | Amazon Cognito, Auth0, Stytch, WorkOS | Amazon 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.
Authelia
Authentication and authorization server that sits in front of reverse proxies. Provides a web portal for login, OpenID Connect, and granular access rules with several second-factor methods.
Key features
- OpenID Connect and OAuth 2.0 provider
- WebAuthn passkeys and FIDO2 keys
- TOTP and Duo push second factors
- Fine-grained per-domain access rules
- Login rate limiting and lockouts
- Password reset with email verification
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