Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork668
🧑🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.
License
logto-io/logto
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
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.
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 →
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.
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.
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 onTwitter,LinkedIn,Reddit,Telegram,WhatsApp.
- 🏆 Write a review or tutorial ondev.to,Medium,G2 or your blog.
- 💬Share your use case with us and get featured on theLogto website.
- 🙋Open an issue to report bugs or suggest features.
- 💻Contribute to Logto - we'd love your help! Check outLogto awesome of community-contributed resources.
About
🧑🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.




