logto-io

logto: SaaS and AI Authentication on OIDC and OAuth 2.1

Logto is authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1. It provides sign-in flows, multi-tenancy, enterprise SSO, and RBAC, with support for SAML and SDKs across 30+ frameworks.

Stars
14.8k
Forks
1.2k
Stars, last 30 days
+254
Last commit
today
Contributors
100+

Our take

Activeregular commits and releases

Health score

72/100

How it is scored
Activity
77
Community
90
Issues
57
Pull requests
63

+254 stars in the last 30 days

  • Merges more pull requests than 91% of the projects we track
  • More contributors than 78% of the projects we track

Logto is an actively maintained, standards-based identity platform with broad integration options, making it a credible choice for teams that can operate its Node.js and database requirements.

Good fit if

  • You need OIDC or OAuth 2.1 authentication with multi-tenancy, SSO, or RBAC.
  • You want a self-hosted option and can run Node.js with PostgreSQL, or use the Docker Compose setup.
  • You value an active project: it has regular commits and releases, contributions from 100+ contributors, and recent pull requests typically merge quickly.

Look elsewhere if

  • Your deployment cannot meet the supported Node.js versions or run PostgreSQL for local Node.js setup.
  • You need a license without MPL-2.0 obligations.
  • You need an identity solution outside Logto's OIDC, OAuth 2.1, SAML, and listed integration scope.
All health signals
Last commit2026-11-02 (today)
Commits, last 90 days100+
Releases, last 12 months14 (latest v1.45.0, 2026-10-13)
Contributors100+ (top contributor: 25% of commits)
Issues closed, last 90 days7+ (typically closed in 4 days)
Pull requests merged, last 90 days87 (typically merged in 1 day)
Project age5 years

Checked on 2026-11-03 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

14,943

Forks

1,224

Change since Nov 16, 2026: +7 stars·-1 forks

Overview

Logto is authentication and authorization infrastructure for SaaS and AI apps, built on OpenID Connect (OIDC) and OAuth 2.1. It aims to remove the protocol and implementation work involved in adding secure sign-in, access control, and identity features to applications.

The project supports web, mobile, API, machine-to-machine, and CLI integrations through SDKs for 30+ frameworks. It also supports enterprise SSO and SAML, and presents itself as suitable for multi-tenant SaaS and agent-based AI applications.

Key Features

  • Pre-built sign-up and sign-in flows with customizable user interfaces.
  • Multi-tenancy and organization features, including organization RBAC and member invites.
  • OIDC and OAuth 2.1 support, plus SAML for enterprise identity integrations.
  • Authentication options including social login, MFA, passwordless sign-in, and Google One Tap.
  • SDKs for 30+ frameworks, including React, Next.js, Angular, Vue, Flutter, Go, and Python.
  • Connections to external identity providers such as Google, Facebook, Azure AD, and Okta.
  • Support for applications, APIs, machine-to-machine clients, CLI tools, and agent-based architectures.

Use Cases

  • SaaS teams adding organization-aware login and role-based access for customer accounts.
  • Product teams that need enterprise SSO alongside standard sign-in flows.
  • Developers connecting web, mobile, and API clients to a shared identity service.
  • Teams building AI or agent-based applications that need authentication and authorization.

What you need

Detected in the repository

  • Node.js ^22.23.4 || ^24.22.1 || ^26.12.1 (from package.json)
  • A Dockerfile, so it can run in a container; a Compose file sets up the related services
  • Automated checks on GitHub Actions

License in plain words

MPL-2.0weak copyleft

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license notice
  • Share your changes: yes, changes to MPL-licensed files, when you distribute them
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

For a Docker Compose setup, with Docker Desktop installed:

curl -fsSL https://raw.githubusercontent.com/logto-io/logto/HEAD/docker-compose.yml | docker compose -p logto -f - up

For other installation options and details, see the OSS installation guide and the repository README.

Alternatives

  • AuthKit: AuthKit uses WorkOS-managed authentication flows and APIs, while Logto provides broader OIDC and OAuth infrastructure, including authorization and multi-tenancy.
  • supertokens-core: SuperTokens focuses on self-hosted login, user, and session operations with data in your database; Logto also covers enterprise SSO, multi-tenancy, and authorization.
ProjectLanguageLicenseStarsStatus
logtoTypeScriptMPL-2.014.8kActive
AuthKitTypeScriptMIT3.4kMaintained
supertokens-coreJavaOther15.3kActive

Considerations

Self-hosting requires infrastructure to run the service. The README's Node.js setup requires PostgreSQL, while its Docker Compose route requires Docker. The listed supported Node.js versions are specific, so check runtime compatibility before deployment. Logto is licensed under MPL-2.0, which teams should review against their distribution and modification plans.

Found this useful?

Share it with someone who would like logto.

Comparisons