logto-io/logto
Summary
Logto is an open-source auth infrastructure for SaaS and AI apps, supporting OIDC, OAuth 2.1, SAML, multi-tenancy, enterprise SSO, and RBAC.
View Cached Full Text
Cached at: 06/29/26, 11:22 AM
logto-io/logto
Source: https://github.com/logto-io/logto
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

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.
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 withhttps://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.
Showcase
Developer-first SDKs: Install in minutes with clear guides.

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

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

Support Logto
If you find Logto helpful, hereβs how you can support us:
- β Star this repo to show your support!
- π¬ Join our Discord for live discussions.
- π’ Share Logto on Twitter, LinkedIn, Reddit, Telegram, WhatsApp.
- π Write a review or tutorial on dev.to, Medium, G2 or your blog.
- π¬ Share your use case with us and get featured on the Logto website.
- π Open an issue to report bugs or suggest features.
- π» Contribute to Logto - weβd love your help! Check out Logto awesome of community-contributed resources.
Licensing
β¬οΈ Back to top
Similar Articles
OpenLogi
OpenLogi is an open-source, local-first tool written in Rust for configuring Logitech mice over HID++, offering button remapping, DPI control, and per-app profiles without requiring an account or telemetry.
goauthentik/authentik
authentik is an open-source Identity Provider (IdP) for modern SSO, supporting SAML, OAuth2/OIDC, LDAP, RADIUS and more, designed for self-hosting from small labs to large production clusters, with an enterprise offering available.
@0x0SojalSec: Open-source OAuth 2.0 authentication server you can host yourself. Build your own auth service, a self-hosted OAuth 2.0β¦
An open-source OAuth 2.0 authentication server you can host yourself, supporting Google, GitHub, email login, custom providers, and modern deployment platforms. It's recommended for backend engineers to learn how modern auth systems work.
lobehub/lobehub
LobeHub is an open-source AI agent collaboration platform that enables users to find, build, and collaborate with agent teammates, featuring MCP plugin support, multi-model providers, and local/remote deployment options.
Loomal
Loomal launches identity infrastructure purpose-built for AI agents.