logto README

The project's README from github.com/logto-io/logto. As one markdown file: README.md.

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.

website • cloud • docs • api • blog • auth wiki • newsletter

Logto features

Why Logto?

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

With Logto, you get:

🗺️ See all features →

Get started

Pick your path:

📚 Full OSS installation guide →

Integrate anywhere

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

🚀 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

logto (logto-io/logto)

Searching Database…

14.7K ·GitHub
What is this?Logto is open-source authentication and authorization infrastructure for SaaS and AI apps — a server that handles sign-in, identity, and access control for you, built on OIDC, OAuth 2.1, and SAML.
Is Logto a library I import, or a service I run?Neither — it's a server you self-host or consume as managed Logto Cloud, and your apps talk to it through SDKs for 30+ frameworks like React, Next.js, Vue, Flutter, Go, and Python.
How do I run it for the first time?Try it instantly by launching Logto OSS in GitPod — it starts in seconds and prints an 'App is running at' URL — or follow the full OSS installation guide for local development.
What do I need installed to self-host it?Node.js ^22.14.0 with pnpm ^9 or ^10; npm and yarn are blocked by a preinstall check. Docker and docker-compose files also ship in the repo.
Any pitfalls when setting it up locally?The strict part is the toolchain — pnpm on Node 22 is mandatory. The rest is pitched as turnkey: the README claims production-ready auth with no workarounds for multi-tenancy, SSO, and RBAC.
What kinds of apps can I secure with it?Anything that speaks OIDC or OAuth: SPAs, web apps, mobile apps, APIs, machine-to-machine services, and CLI tools.
What comes pre-built in the sign-in experience?Sign-up, sign-in, social login, Google One Tap, MFA, and SSO flows ship ready-made with customizable UIs, so you don't build auth screens yourself; clear guides promise SDK setup in minutes.
How does it fit multi-tenant B2B SaaS products?Organizations are first-class: organization RBAC, member invites, and just-in-time provisioning, so each customer company gets its own members, roles, and access on top of general multi-tenancy.
Why choose Logto over wiring OAuth by hand?The pitch: it removes the protocol pain of OIDC, OAuth 2.1, and SAML, ships SDKs for 30+ frameworks, and gives multi-tenancy, enterprise SSO, and RBAC without workarounds.
Creator
logto-io
Size
118.5 MB
Stars
14.7K
Age
5y
Commits · 90 Days