Logto is auth infrastructure for SaaS and AI apps, built on OIDC, OAuth 2.1, and SAML. It offers multi-tenancy, enterprise SSO, RBAC, and SDKs for many frameworks, with managed cloud or self-hosted deployment.
Overview
Logto provides authentication and authorization infrastructure aimed at SaaS, AI, and agent-based applications. It implements industry-standard protocols including OIDC, OAuth 2.1, and SAML, with sign-up, sign-in, social login, MFA, and enterprise SSO flows. Teams can run a fully managed Logto Cloud instance or install the open-source stack on their own infrastructure.
The product includes pre-built sign-in UIs that can be branded, plus SDKs for more than thirty frameworks such as React, Next.js, Angular, Vue, Flutter, Go, and Python. Connectors link to external identity providers including Google, Facebook, Azure AD, and Okta. Integration patterns cover SPAs, web and mobile apps, APIs, machine-to-machine access, and CLI tools.
Multi-tenancy and organizations support per-customer SSO over SAML or OIDC, custom sign-in branding, organization RBAC, member invites, and just-in-time provisioning. Customers can define their own security rules in the console, including MFA requirements and role assignment. Management APIs and audit logs mirror console capabilities for automation.
For AI and API scenarios, Logto supports Model Context Protocol auth, token exchange for agents acting within a user’s permissions, API keys, consent screens for partner apps, and machine credentials with revocable roles. Documentation, OpenAPI specs, and an official MCP server support setup from different stacks and AI coding tools.
Key features
- OIDC, OAuth 2.1, and SAML
- Multi-tenancy and organization RBAC
- Enterprise SSO and social login
- Customizable sign-in UI and MFA
- SDKs for 30+ frameworks
- External IdP connectors
- Management API and audit logs
- MCP and M2M API authorization
Use cases
- Consumer and business sign-in for SaaS products
- Per-tenant enterprise SSO and branding
- API and partner app authorization
- AI agent and MCP client authentication
- Local auth development before production deploy
Open-source alternative to
Auth0“Auth0 alternative: Why teams switch to Logto when predictable costs matter” source
Clerk“Clerk alternative: Lightweight auth built on open standards” source
Stytch“Stytch alternative: One auth platform for both B2C and B2B” source
Does the same job as
Logto doesn't name these products itself, but its own description shows it does the same job.