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 30 days
+242(+2%)
Last commit
yesterday
Repository age
5 years
Version
v1.46.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
Tags
authentication
authorization
identity
sso
oidc
oauth
rbac
multi-tenancy
self-hosted

Logto: questions and answers

What is Logto used for?
Logto is 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. It is a good fit for adding login to a SaaS product, multi-tenant B2B apps with SSO, and authenticating AI agents and MCP servers.
Is Logto open source?
Yes. Logto is open source under the MPL-2.0 licence. Its source code is on GitHub at logto-io/logto and is written mainly in TypeScript.
Is Logto free?
Yes. Logto is open source, so the software itself is free to use. A managed cloud version is also available, with paid plans from $24 per month.
Can I self-host Logto?
Yes. Logto can be self-hosted on your own server or infrastructure.
What is Logto an alternative to?
Logto is an open-source alternative to Auth0, Stytch, Descope and Frontegg. Other open-source alternatives to Auth0 include Keycloak, SuperTokens and ZITADEL.
Is Logto actively maintained?
Yes. The most recent commit to Logto was on 12 November 2026, and the latest release is v1.46.0, published on 5 November 2026. The project has 15k stars on GitHub, with 242 added in the last 30 days.

Open-source alternatives to Logto

See all

SaaS alternatives to Logto

See all