OpenSourceProjects logo
logto logo

logto๐Ÿง‘โ€๐Ÿš€ Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.

๐Ÿง‘โ€๐Ÿš€ Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.

11,967 stars
784 forks
TypeScript
MPL-2.0
Alternative to:
Firebase
Supabase
Clerk
authentication
authorization
email
identity
jwt
login
logto screenshot

logto

Logto is a modern, open-source authentication and authorization infrastructure built on OIDC and OAuth 2.1 standards. It eliminates the complexity of implementing secure auth for SaaS and AI applications by providing production-ready features like multi-tenancy, enterprise SSO, and RBAC out of the box.

Key Features

  • Multi-tenancy and Enterprise SSO: Built-in organization management, SSO capabilities, and just-in-time provisioning without workarounds
  • Comprehensive Protocol Support: Full support for OIDC, OAuth 2.1, and SAML with pre-built, customizable sign-in flows
  • Extensive SDK Library: SDKs for 30+ frameworks including React, Next.js, Angular, Vue, Flutter, Go, and Python
  • AI and Agent Integration: Native support for Model Context Protocol and agent-based AI architectures
  • Social and Enterprise Connectors: Ready-to-use integrations with Google, Facebook, Azure AD, Okta, and more

Use Cases

  • SaaS Platforms: Scale authentication infrastructure with multi-tenancy and enterprise SSO for customer organizations
  • AI Applications: Implement secure auth for AI apps and agent-based systems with Model Context Protocol support
  • Enterprise Identity: Deploy SAML, OIDC, and OAuth flows for organizations requiring compliance and advanced access control
  • Developer Tools: Integrate flexible authentication for CLIs, APIs, and M2M services across your ecosystem

Who Is It For

Logto is designed for development teams building SaaS applications, AI platforms, and agent-based systems who need production-grade authentication without the operational overhead of maintaining identity infrastructure. It's ideal for startups and enterprises seeking a modern alternative to traditional auth providers.

Trending Open Source Projects