# Self-hosted alternatives to Logto

The best self-hosted alternative to Logto is Casdoor (highest rated, 14 873 stars).

> 1 self-hostable, open-source alternative to Logto, ranked by score.

- [Casdoor](https://selfhost.directory/project/casdoor): Casdoor is an open-source identity and access management platform: it runs the single sign-on service, keeps the user directory and issues the tokens itself…

## Also in Authentication

Not listed as Logto alternatives, but from the same category:

- [Pocket ID](https://selfhost.directory/project/pocket-id): Self-hosted, open-source OpenID Connect Certified provider for homelabs and small teams that find Keycloak or Authentik too heavy; passkey sign-in only.
- [hanko](https://selfhost.directory/project/hanko): Open-source self-hosted authentication and user management platform with passkeys, MFA, OAuth SSO and SAML, an API-first alternative to Auth0 or Clerk.
- [melody-auth](https://selfhost.directory/project/melody-auth): Open-source OAuth auth server for Cloudflare Workers or self-hosted Node.js with Redis/PostgreSQL. Features MFA, social login, SAML SSO, RBAC, and web admin panel.
- [FusionAuth](https://selfhost.directory/project/fusionauth-containers): FusionAuth is a self-hosted CIAM platform for auth, authorization, and user management with SSO, MFA, passkeys, and social login. Free Community edition available.
- [autentico](https://selfhost.directory/project/autentico): Self-hosted OIDC identity provider as a single Go binary with SQLite, handling login, MFA, passkeys, sessions, and tokens with built-in admin UI.
- [QAuth](https://selfhost.directory/project/qauth): QAuth is a self-hosted, open-source OAuth 2.1/OIDC 1.0 server for AI agents with on-behalf-of delegation, audience-bound tokens, and post-quantum ready crypto.

All 94 Authentication projects: https://selfhost.directory/authentication

## About these Logto alternatives

1 open-source, self-hosted alternatives to Logto are listed here, ranked by popularity, maintenance and documentation.

- **Highest rated:** Casdoor (14 873 GitHub stars, Apache-2.0 license, written in Go)
- **Docker:** 1 of the top 1 ship an official Docker image
- **Recently updated:** Casdoor v4.29.0 on 2026-11-15

### Logto alternatives compared

| Project | License | Language | Stars | Docker | Setup | Latest release | Score |
|---|---|---|---:|---|---|---|---:|
| [Casdoor](https://selfhost.directory/project/casdoor) | Apache-2.0 | Go | 14 873 | Yes | Moderate | v4.29.0 2026-11-15 | 78 |

---
Source: https://selfhost.directory/alternative-to/logto