https://github.com/logto-io/logto
๐งโ๐ The better auth and identity infrastructure and the open-source alternative to Auth0. No framework restrictions.
https://github.com/logto-io/logto
authentication authorization email identity jwt login logto mfa oauth2 openid-connect password passwordless rbac saml signup sms social-login sso totp typescript
Last synced: 16 days ago
JSON representation
๐งโ๐ The better auth and identity infrastructure and the open-source alternative to Auth0. No framework restrictions.
- Host: GitHub
- URL: https://github.com/logto-io/logto
- Owner: logto-io
- License: mpl-2.0
- Created: 2021-06-19T03:01:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T02:35:53.000Z (10 months ago)
- Last Synced: 2025-05-06T14:58:12.500Z (10 months ago)
- Topics: authentication, authorization, email, identity, jwt, login, logto, mfa, oauth2, openid-connect, password, passwordless, rbac, saml, signup, sms, social-login, sso, totp, typescript
- Language: TypeScript
- Homepage: https://logto.io
- Size: 92.5 MB
- Stars: 10,046
- Watchers: 50
- Forks: 537
- Open Issues: 165
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-tools - logto-io/logto - Logto helps you build the sign-in, auth, and user identity within minutes. We provide an OIDC-based identity service and the end-user experience with username, phone number, email, and social sign-in, for web and native apps. (Authentication)
- StarryDivineSky - logto-io/logto
- awesome-homelab - Logto - io/logto?style=flat)  | ๐งโ๐ Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC. | (Apps / Authentication)
- awesome-openid-connect - Logto - An Open-source solution designed for Customer Identity and Access Management (CIAM) and Workforce Identity Management with OpenID Connect based authentication. (OpenID Providers (OP))
- awesome-starred - logto-io/logto - ๐งโ๐ Logto is a modern Auth0 alternative for building identity infrastructure with minimal effort, for both your customers and their organizations. (node)
- awesome-auth - Logto - An IAM infrastructure with AuthN, AuthZ, MFA, SSO, user management, and multi-tenancy features, supporting OAuth 2.0, OIDC, and SAML. (SSO (Single-Sign-On), IAM (Identity Access Management))
- awesome-ops - logto-io/logto - 2.0|10997|2021-06-19|2025-11-07 | ไธไธบ็ฐไปฃๅบ็จ็จๅบๅ SaaS ไบงๅ่ฎพ่ฎก็ Auth0 ๆฟไปฃๆนๆกใๅฎๆไพๆ ็ผ็ๅผๅไบบๅไฝ้ช๏ผ้ๅธธ้ๅไธชไบบๅๆ้ฟๅๅ ฌๅธ | (OAuth2)
- awesome-github-star - logto - io | 6318 | (TypeScript)
- awesome-ccamel - logto-io/logto - ๐งโ๐ Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC. (TypeScript)
- awesome-iam - Logto - An IAM infrastructure for modern apps and SaaS products, supporting OIDC, OAuth 2.0 and SAML for authentication and authorization. (OAuth2 & OpenID / Other tools)
- awesome-foss-alternatives - Logto - ๐งโ๐ The better auth and identity infrastructure and the open-source alternative to Auth0. No framework restrictions. [TS, Mozilla Public License 2.0]. (Platforms services and devops / User authentication (Auth0 alternatives))
- awesome-list - logto-io/logto - ๐งโ๐ Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC. (TypeScript)
- awesome - logto-io/logto - ๐งโ๐ Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC. (TypeScript)
- awesome-nextjs - Logto - The better identity infrastructure for developers and the open-source alternative to Auth0. (Integrated)
README
[](https://discord.gg/vRvwuwgpVX)
[](https://github.com/logto-io/logto/actions?query=branch%3Amaster)
[](https://github.com/logto-io/logto/releases)
[](https://app.codecov.io/gh/logto-io/logto)
[](https://cloud.logto.io/?sign_up=true&utm_source=github&utm_medium=repo_logto)
[](https://gitpod.io/#https://github.com/logto-io/demo)
[](https://render.com/deploy?repo=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**.
[๐บ๏ธ See all features โ](https://docs.logto.io/?ref=readme)
## Get started
Pick your path:
- [**Logto Cloud**](https://cloud.logto.io/?sign_up=true&ref=readme): The fastest way to try Logto. Fully managed, zero setup.
- [**Launch Logto in GitPod**](https://gitpod.io/#https://github.com/logto-io/demo): 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:**
```bash
# 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 โ](https://docs.logto.io/logto-oss/get-started-with-oss?ref=readme)
## 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 โ](https://docs.logto.io/quick-starts?ref=readme)
[๐ See all connectors โ](https://docs.logto.io/integrations?ref=readme)
## 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](https://discord.gg/vRvwuwgpVX) for live discussions.
- ๐ข Share Logto on [Twitter](https://twitter.com/intent/tweet?text=Hey%20devs%21%20Need%20a%20better%20auth%20solution%3F%20Check%20out%20%40logto_io%20%E2%80%94%20it%E2%80%99s%20like%20Auth0%2FCognito%2FFirebase%20but%20open-source%2C%20modern%2C%20and%20way%20easier%20to%20use%21%20Supports%20OIDC%2C%20OAuth%202.0%2C%20SAML%2C%20and%20also%20works%20perfectly%20for%20SaaS%20apps.%20%E2%9C%A8%20https%3A%2F%2Flogto.io%20%23Auth%20%23Identity%20%23OpenSource%20%23DevTools), [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Flogto.io), [Reddit](https://reddit.com/submit?url=https%3A%2F%2Flogto.io&title=Tired%20of%20Auth0%2FCognito%2FFirebase%3F%20Logto%20is%20the%20open-source%20auth%20alternative%20you%E2%80%99ve%20been%20missing%21%20Supports%20OIDC%2C%20OAuth%202.0%2C%20SAML%2C%20and%20works%20like%20magic%20for%20modern%20apps%20and%20SaaS%20products.), [Telegram](https://t.me/share/url?url=https%3A%2F%2Flogto.io&text=Check%20out%20Logto%20%E2%80%94%20the%20better%20auth%20and%20identity%20infrastructure%21%20Open-source%2FCloud%20alternative%20to%20Auth0%2C%20Cognito%2C%20and%20Firebase.%20Supports%20all%20the%20standards%20%28OIDC%2C%20OAuth%2C%20SAML%29%20and%20is%20perfect%20for%20modern%20apps%20or%20SaaS%20products.%20https%3A%2F%2Flogto.io), [WhatsApp](https://api.whatsapp.com/send?text=Hey%21%20%F0%9F%91%8B%20Found%20this%20awesome%20auth%20tool%20called%20%2ALogto%2A%20%E2%80%94%20it%E2%80%99s%20open-source%2C%20way%20simpler%20than%20Auth0%2FCognito%2FFirebase%2C%20and%20supports%20OIDC%2FOAuth%2FSAML.%20Perfect%20for%20building%20CIAM%20system%20without%20the%20hassle.%20You%20gotta%20try%20it%3A%20https%3A%2F%2Flogto.io).
- ๐ Write a review or tutorial on [dev.to](https://dev.to/logto), [Medium](https://medium.com/@logto), [G2](https://www.g2.com/products/logto/reviewer_verification) or your blog.
- ๐ฌ [Share your use case](mailto:contact@logto.io?subject=[Share%20Logto%20User%20Story]) with us and get featured on the [Logto website](https://logto.io/).
- ๐ [Open an issue](https://github.com/logto-io/logto/issues/new) to report bugs or suggest features.
- ๐ป [Contribute to Logto](https://github.com/logto-io/logto/blob/master/.github/CONTRIBUTING.md) - we'd love your help! Check out [Logto awesome](https://github.com/logto-io/logto/blob/master/AWESOME.md) of community-contributed resources.
## Licensing
[MPL-2.0](LICENSE).
โฌ๏ธ Back to top