fork with 'group' claims for OIDC🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC. https://logto.io
  • TypeScript 97%
  • SCSS 2.5%
  • JavaScript 0.2%
  • HTML 0.1%
Find a file
2026-03-31 22:43:25 +08:00
.changeset release: version packages (#8454) 2026-03-31 16:17:00 +08:00
.devcontainer chore: update devcontainer using default image (#4528) 2023-09-16 10:32:41 +08:00
.github v1.38.0 2026-03-31 22:24:15 +08:00
.husky fix: add --if-present to husky pre-commit script (#8486) 2026-03-16 14:19:07 +08:00
.scripts test: add coverage collection support for integration tests (#8531) 2026-03-24 07:09:08 +00:00
.vscode feat(console): integrate inkeep ai assistant into cloud console (#7319) 2025-04-18 15:40:37 +00:00
.zap fix: white list the 90004 rule in pentest (#8412) 2026-03-01 18:08:17 -08:00
assets chore: update README.md (#7390) 2025-05-15 06:39:16 +00:00
packages fix i18n 2026-03-31 22:43:25 +08:00
patches fix: bump pnpm v10 and patch tsup (#7487) 2025-06-27 08:51:34 +08:00
.dockerignore test: integration tests via docker-compose (#8508) 2026-03-19 19:10:49 +00:00
.gitignore test: add coverage collection support for integration tests (#8531) 2026-03-24 07:09:08 +00:00
.gitpod.yml feat: return and store connector raw data 2024-03-19 14:05:42 +08:00
.npmrc feat(core): add email blocklist guard (#7368) 2025-05-12 02:26:27 +00:00
AWESOME.md chore: update awesome list (#8091) 2025-12-22 10:44:11 +08:00
commitlint.config.ts feat(api): add createManagementApiClient for custom authentication (#8199) 2026-01-13 09:11:24 +08:00
docker-compose.integration.yml test: add coverage collection support for integration tests (#8531) 2026-03-24 07:09:08 +00:00
docker-compose.yml v1.38.0 2026-03-31 22:24:15 +08:00
Dockerfile fix: bump pnpm v10 and patch tsup (#7487) 2025-06-27 08:51:34 +08:00
Dockerfile.integration test: add coverage collection support for integration tests (#8531) 2026-03-24 07:09:08 +00:00
LICENSE refactor: cloud cleanup (#4103) 2023-07-03 14:33:19 +08:00
lint-staged.config.js ci: update release workflows (#2754) 2022-12-29 14:52:43 +08:00
logo.png chore: update logo (#3224) 2023-02-24 21:51:20 +08:00
package.json chore: bump transient deps (#8597) 2026-03-31 15:32:28 +08:00
pnpm-lock.yaml release: version packages (#8454) 2026-03-31 16:17:00 +08:00
pnpm-workspace.yaml chore: update workspace configs 2023-04-01 16:37:49 +08:00
README.md chore: update README.md (#7405) 2025-05-23 09:14:58 +08:00
render.yaml chore: add Render deploy (#1593) 2022-07-19 05:10:24 +00:00
renovate.json chore: update renovate.json (#2244) 2022-10-24 12:44:29 +08:00
tsup.shared.config.ts refactor(core): use tsup for building 2024-07-28 11:34:43 +08:00
vite.shared.config.ts chore: remove optimize deps config for local dev (#6506) 2024-08-22 21:18:12 +08:00

Logto logo

discord checks release core coverage cloud gitpod render

Logto

Logto is the modern, open-source auth infrastructure for SaaS and AI apps.

It takes the pain out of OIDC and OAuth 2.1 and makes it easy to build secure, production-ready auth with multi-tenancy, enterprise SSO, and RBAC.

websiteclouddocsapiblogauth wikinewsletter

Logto features

Why Logto?

Built for teams scaling SaaS, AI, and agent-based platforms without the usual auth headaches.

With Logto, you get:

  • Multi-tenancy, enterprise SSO, and RBAC: ready to use, no workarounds.
  • Pre-built sign-in flows, customizable UIs, and SDKs for 30+ frameworks.
  • Full support for OIDC, OAuth 2.1, and SAML without the protocol pain.
  • Works out-of-the-box for Model Context Protocol and agent-based AI architectures.

🗺️ See all features →

Get started

Pick your path:

  • Logto Cloud: The fastest way to try Logto. Fully managed, zero setup.

  • Launch Logto in GitPod: Start Logto OSS in seconds.

    Wait for the message App is running at https://3002-...gitpod.io, then click the URL starting with https://3002- to continue.

  • Local development:

    # Using Docker Compose(requires Docker Desktop)
    curl -fsSL https://raw.githubusercontent.com/logto-io/logto/HEAD/docker-compose.yml | \
    docker compose -p logto -f - up
    
    # Using Node.js (requires PostgreSQL)
    npm init @logto
    

📚 Full OSS installation guide →

Integrate anywhere

Logto supports all your apps, APIs, and services with industry-standard protocols.

  • SDKs for 30+ frameworks: React, Next.js, Angular, Vue, Flutter, Go, Python, and more.
  • Connect to any IdP: Google, Facebook, Azure AD, Okta, and more.
  • Flexible integration: SPAs, web apps, mobile apps, APIs, M2M, CLI tools.
  • Ready for Model Context Protocol and agent-based architectures.

🚀 Explore quick starts →

🔌 See all connectors →

Showcase

Developer-first SDKs: Install in minutes with clear guides.

Logto auth SDK showcase

User-friendly auth flows: Sign-up, sign-in, social login, Google One Tap, MFA, SSO.

Logto sign-in experience showcase

Multi-tenancy & organizations: Organization RBAC, member invites, just-in-time provisioning, and more.

Logto multi-tenancy showcase

Support Logto

If you find Logto helpful, here's how you can support us:

Licensing

MPL-2.0.

⬆️ Back to top