6,598 open-source and SaaS tools, with GitHub stats refreshed every day.

Logto

Open source

Open-source identity infrastructure that adds sign-in, enterprise SSO and role-based access control to SaaS and AI products, using OIDC and OAuth 2.1 standards.

logto.io
Logto homepage screenshot
GitHub stars
15k
Last commit
yesterday
Repository age
5 years
Version
v1.44.0
Licence
MPL-2.0
Self-hosted
Yes

About Logto

Logto is an open-source identity platform that handles sign-in, sign-up and access control so product teams do not have to build them from scratch. It is built on OpenID Connect and OAuth 2.1, with SAML also supported, and is aimed at SaaS products and AI or agent-based platforms that need production-ready authentication.

Out of the box it provides multi-tenancy and organizations with member invites and role-based access, enterprise SSO, and prebuilt sign-in flows with a customizable interface. Sign-in options include social login, passwordless methods, MFA and Google One Tap, and it can connect to external identity providers such as Google, Azure AD and Okta. SDKs cover more than 30 frameworks, among them React, Next.js, Angular, Vue, Flutter, Go and Python.

The core is licensed under MPL-2.0 and can be self-hosted by following the OSS installation guide or run locally for development. Logto Cloud offers the same product as a fully managed service. The project also advertises support for the Model Context Protocol and agent-style AI architectures.

Key features

  • OIDC, OAuth 2.1 and SAML support
  • Multi-tenancy with organization RBAC
  • Enterprise single sign-on
  • Prebuilt, customizable sign-in flows
  • Social login, passwordless and MFA
  • SDKs for over 30 frameworks
  • Machine-to-machine access for APIs and CLIs

Good fit for

  • →Adding login to a SaaS product
  • →Multi-tenant B2B apps with SSO
  • →Authenticating AI agents and MCP servers
Built with
TypeScript
Tags
authentication
authorization
identity
sso
oidc
oauth
rbac
multi-tenancy
self-hosted

Open-source alternatives to Logto

See all

SaaS alternatives to Logto

See all