Security & Privacy · Identity & Access Management (IAM)
Logto
Open-source authentication infrastructure for SaaS and AI applications
Logto is an MPL-2.0 identity platform for SaaS and AI applications. It provides OIDC, OAuth 2.1, SAML, multi-tenancy, enterprise SSO, RBAC, sign-in flows, connectors, APIs, and SDKs. Logto OSS is free to self-host, Logto Cloud has a $0 Free plan and Pro from $24 monthly, and self-hosted Pro is listed at $249 monthly or $199 monthly when billed annually during early access.
Key facts
- License
- MPL-2.0
- Main language
- TypeScript
- Maintainer
- Logto
- Latest release
- v1.45.0, October 13, 2026
- GitHub stars
- 14,676, October 2026
- Hosted option
- Logto Cloud, Free at $0/month; Pro from $24/month
What Logto is
Logto is an open-source authentication and authorization platform maintained by Logto and published in the logto-io repository. The repository was created on June 19, 2021, lists 14,676 stars and 1,216 forks, identifies TypeScript among its languages, and uses the Mozilla Public License 2.0. Its stated focus is SaaS and AI applications, with OIDC, OAuth 2.1, multi-tenancy, enterprise SSO, RBAC, prebuilt sign-in flows, SAML, and SDKs for more than 30 frameworks. Teams can run Logto OSS on their own infrastructure or use Logto Cloud as a managed service. This positioning makes Logto a customer identity platform for products that need application login, authorization, organization management, and developer integrations rather than a workforce directory alone.
How it works
A common implementation starts by creating a tenant and registering an application, API, or machine-to-machine client. Developers then connect the product through OIDC or OAuth 2.1, select a prebuilt sign-in flow, and use issued tokens with application APIs. Available identity experiences include password, passwordless, social login, MFA, account management, and enterprise connections through SAML or OIDC. Authorization can use roles, permissions, API resources, organizations, and organization roles. Account APIs, user management, webhooks, and management interfaces support surrounding product workflows. SDKs and quick starts cover React, Next.js, Angular, Vue, Flutter, Go, Python, and other frameworks, reducing protocol work across web, mobile, API, CLI, and service integrations.
Architecture and recent releases
The documented OSS architecture uses PostgreSQL for application data, Redis as a central cache, and a file storage provider for assets such as user avatars. Local evaluation can use Docker Compose, while a production deployment can use a dedicated PostgreSQL instance, a container image, environment variables, and the Logto CLI or npm initialization. The installation guide recommends 2 vCPUs, 8 GiB memory, and 256 GiB disk. Release v1.45.0, published October 13, 2026, added signed self-hosted license entitlements, linear-time resource and scope queries, Management API filtering for internal resources, and permission-picker improvements. The release also documents paid entitlements for collaboration, branding, custom sign-in interfaces, expanded SAML, and Console MFA.
License and pricing
Logto OSS is free to use and customize under MPL-2.0, while the product separates some managed and commercial capabilities by plan. Logto Cloud lists a Free plan at $0 monthly with up to 50,000 monthly active users and a Pro plan from $24 monthly, with 50,000 tokens included before usage billing. The self-hosted plans page lists OSS Community as free, Self-hosted Pro at $249 monthly or $199 monthly when billed annually during early access, and Enterprise as custom priced. Self-hosted Pro uses a signed license verified locally by the deployment. The license documentation describes weekly outbound refresh checks, a 30-day grace period, and local sign-in operation when refresh connectivity fails.
Limitations and how it compares
The main adoption decision concerns feature boundaries and operational ownership. OSS supports core authentication and authorization, but its documented limits include Console collaborators, mandatory Console MFA, Bring your UI, branding removal, IdP-initiated SSO, built-in email service, and SAML applications beyond three. A Self-hosted Pro license turns on several of these capabilities, while Enterprise adds contract-defined terms, support commitments, LTS, and deployment or migration services. Logto fits teams seeking SaaS-oriented tenants, modern protocols, SDKs, and a Cloud path. Keycloak or Authentik may fit organizations prioritizing their own broader self-hosted administration model. The choice should therefore include both integration scope and recurring operating obligations.
Main features
- OIDC and OAuth 2.1. Standards-based flows issue tokens for web, mobile, API, machine-to-machine, command-line, and other application integrations.
- SaaS multi-tenancy. Tenants and organizations support separate or shared user-pool arrangements for products serving multiple customer groups.
- Enterprise SSO. SAML and OIDC identity-provider connections support enterprise customers using existing organizational authentication systems.
- RBAC authorization. Roles, permissions, API resources, and organization roles define access rules for users and machine-to-machine applications.
- Sign-in experiences. Prebuilt flows cover password, passwordless, social login, MFA, account management, and customizable sign-in interfaces.
- Developer SDKs. SDKs and quick starts cover more than 30 frameworks, including React, Next.js, Flutter, Go, and Python.
- AI integrations. The README documents Model Context Protocol and agent-based AI architecture integrations.
Self-hosting Logto
Logto OSS can start with Docker Compose for evaluation or npm initialization and the Logto CLI for a controlled deployment. The documented minimum recommendation is 2 vCPUs, 8 GiB memory, and 256 GiB disk. Production requires dedicated PostgreSQL, Redis as a central cache, and file or object storage. The bundled Compose database is unsuitable for production because recreating it can lose persisted data. Operators manage containers, TLS, secrets, backups, monitoring, upgrades, and recovery. A paid self-hosted license is verified locally, refreshes through an outbound HTTPS request approximately weekly, and has a 30-day grace period after failed refreshes.
Strengths
- MPL-2.0 permits commercial use while retaining file-level copyleft.
- The product documents SaaS tenants, SSO, RBAC, and modern OAuth support.
- Logto Cloud publishes a $0 Free plan and Pro pricing from $24 monthly.
- Docker, npm, PostgreSQL, Redis, and SDK installation paths are documented.
Drawbacks
- Several Console, branding, SAML, and interface capabilities require Cloud or a self-hosted license.
- Self-hosting requires PostgreSQL, Redis, storage, backups, and operational administration.
- The OSS documentation lists meaningful limits on Console administration and SAML applications.
What teams replace with it
Teams usually evaluate Logto when they want to move off Auth0, Okta Customer Identity, Amazon Cognito.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Logto
- Keycloak
- Authentik
- Zitadel
- Ory Kratos
- SuperTokens
Frequently asked questions
Is Logto free?
Logto OSS is free to use and self-host under MPL-2.0, with community support. Logto Cloud lists a Free plan at $0 monthly for up to 50,000 monthly active users. Cloud Pro starts from $24 monthly. Self-hosted Pro is separately priced, and selected self-hosted features require a signed commercial license.
Can Logto be used commercially?
The repository identifies Logto as licensed under Mozilla Public License 2.0. Commercial users can use, modify, and distribute covered software while following MPL-2.0 notice and file-level copyleft obligations. Teams activating self-hosted paid features must also follow the applicable subscription terms and deployment permissions.
What does self-hosted Logto require?
The documented minimum recommendation is 2 vCPUs, 8 GiB memory, and 256 GiB disk. Production deployments require PostgreSQL, Redis as a central cache, and a file storage provider. Operators also need deployment configuration, TLS, backups, monitoring, upgrade procedures, and recovery planning.
What does a self-hosted license add?
Self-hosted Pro adds Console members and invitations, branding removal, Bring your UI and custom CSP sources, unlimited SAML applications, and mandatory Console MFA. The license is verified locally, then refreshed through an outbound HTTPS request. Failed refreshes allow a 30-day grace period before paid features revert to OSS defaults.
How do Logto Cloud and self-hosting differ?
Logto Cloud is the managed service with Free, Pro, and Enterprise plans. Self-hosted OSS runs on customer infrastructure and is free under MPL-2.0. Self-hosted Pro adds commercial features and email support, while Enterprise adds contract-defined services, support commitments, deployment assistance, migration guidance, and LTS options.
Similar projects to compare
- KeycloakApache-2.0Keycloak is an Apache-2.0 identity and access management server for applications and services. It provides user federation, strong authentication, user management, fine-grained authorization, and OIDC and SAML integrations. Teams can run it from downloadable archives, a container image, or an operator. Red Hat also publishes a supported commercial build, while community deployments require operators to provide infrastructure, security configuration, databases, upgrades, and ongoing administration.
- AuthentikMIT (core), mixed repository; enterprise code under separate enterprise licenseAuthentik is an open-source identity provider for teams needing OIDC, OAuth2, SAML, LDAP, RADIUS, SCIM, and proxy access in one self-hosted service. Its core is MIT licensed, while enterprise code is separately licensed. There is no general hosted cloud product advertised, and enterprise pricing starts at $0.02 per external user monthly when billed annually.
- ZitadelAGPL-3.0-only, with Apache-2.0 and MIT directory exceptionsZITADEL is an identity and access-management server for customer and workforce applications, offering OIDC, OAuth 2.0, SAML, passkeys, MFA, organizations, and APIs. The v3 and later repository is AGPL-3.0-only with selected Apache-2.0 and MIT exceptions; ZITADEL Cloud starts free and paid Pro starts at $100 monthly.
- SuperTokensApache-2.0 outside ee; ee directory under separate licenseSuperTokens is an open-core authentication provider for developers adding login, sessions, user administration, and identity features to applications. The core outside the ee directory uses Apache-2.0, while the ee directory has a separate license. Teams can self-host the free open-source features or use SuperTokens Cloud, priced at $0.02 per monthly active user and free below 5,000 users.
- AuthgearApache-2.0Authgear is an Apache-2.0 open-source authentication and user-management platform maintained by Skymakers Digital Ltd. It supports self-hosting and Authgear Cloud, with a Free plan priced at $0 monthly. Documented capabilities include passwordless login, passkeys, MFA, social and enterprise login, SSO, user management, APIs, customizable interfaces, user import, and export.
- Better AuthMITBetter Auth is an MIT licensed, framework agnostic authentication and authorization framework for TypeScript. It embeds authentication in an application backend, supports application managed databases and stateless sessions, and offers email, password, social sign on, passkeys, magic links, usernames, and extensible plugins. Better Auth joined Vercel on July 7, 2026, while its open source framework remains framework and platform agnostic.