The modern, open-source auth infrastructure for SaaS and AI apps
open coreMPL-2.0self-hostablefreeMCP
Logto is an open source authentication and authorization server built on OpenID Connect and OAuth 2.1, for adding sign-up, sign-in and access control to SaaS products and AI apps. It gives you hosted sign-in pages with social, passwordless, passkey and MFA options, organizations for multi-tenant B2B apps with per-organization roles and enterprise SSO over SAML or OIDC, role-based access control for APIs, machine-to-machine apps, webhooks, a Management API and SDKs for over 30 frameworks. It also acts as the authorization server for MCP servers and AI agents, with token exchange and a consent screen for agents. The core is MPL-2.0 and runs on Node.js and PostgreSQL; Silverhand, its maker, sells Logto Cloud in four regions and commercial licences for self-hosting.
Problems it solves
- add sign-up, sign-in and password reset to my SaaS app without building it myself
- an open source auth server I can self-host or use as a hosted service with the same features
- each of our B2B customers needs its own organization with roles and invited members
- let a business customer sign in to our app with their company's Okta or Azure AD
- protect our API with access tokens and role-based permissions
- add passkeys, authenticator apps and backup codes as MFA for our users
- secure our MCP server so third-party AI agents can get user-approved access tokens
- let our AI agent act on behalf of a signed-in user within that user's permissions
- a cheaper alternative to Auth0 with a large free tier of monthly active users
- issue tokens to backend services and cron jobs with machine-to-machine apps
- act as a SAML identity provider so customers can sign in to third-party apps through us
- impersonate a user to debug what they see in our app
- keep our customer identity data in the EU, Australia or Japan
- get notified by webhook when a user signs up or changes their profile
- set up authentication in my app by asking my AI coding assistant
Features
- OpenID Connect and OAuth 2.1 provider, with SAML apps
- hosted sign-in experience with customizable UI; bring your own UI on paid plans
- social sign-in connectors, magic links, passkey sign-in and Google One Tap
- MFA: passkeys, authenticator app TOTP, SMS, email and backup codes; step-up authentication
- organizations for multi-tenancy, with organization roles, invitations and just-in-time provisioning
- enterprise SSO through customers' own SAML or OIDC identity providers
- role-based access control for API resources
- machine-to-machine apps and third-party OIDC/OAuth apps
- custom access token and ID token claims
- webhooks
View 8 more
- Management API, Account API and Experience API
- user impersonation and audit logs
- MCP authorization: token exchange, a consent screen for AI agents and client ID metadata documents
- Secret Vault for third-party tokens agents use on a user's behalf
- Logto MCP Server (mcp.logto.io) that sets up Logto apps and integration code from AI tools
- SDKs for 30+ frameworks, including React, Next.js, Angular, Vue, Flutter, Go and Python
- Logto Cloud in Europe (Netherlands), West US, Australia East and Japan East, or a private cloud
- advanced security add-on: captcha and bot protection, identifier lockout and email blocklists
Ways to run it
Logto Cloud
Free up to 50,000 MAU; Pro from $24/month plus add-ons; Enterprise by quote12
Only in this edition
- multiple tenants and console collaborators
- built-in email service
- custom domains
- Logto MCP Server
- SOC 2 report on Pro and Enterprise; HIPAA BAA on Enterprise
Logto OSS
Not included
- multiple tenants, console collaborator invitations and mandatory MFA for console sign-in34
- the built-in email service: you configure your own email connector34
- IdP-initiated enterprise SSO, and more than 3 SAML apps34
- bring-your-own sign-in UI and removing the Powered by Logto branding34
- Logto Protected App, the no-SDK authentication powered by Cloudflare4
You arrange
- PostgreSQL
- Node.js or Docker to run it
- your own email connector, since the built-in email service is Cloud and Enterprise only
- upgrades and backups
- community support only, on GitHub and Discord
Logto self-hosted (commercial licence)
Self-hosted Pro $249/month billed annually; Self-hosted Enterprise by quote3
Only in this edition
- console collaborators and mandatory MFA for console sign-in
- bring your own UI and no Logto branding
- IdP-initiated SSO and unlimited SAML apps (Pro)
- built-in email service and an LTS release channel (Enterprise)
- email support (Pro) or a severity-based SLA (Enterprise)
You arrange
- a licence file, refreshed online at least every 30 days
- the same database and infrastructure as Logto OSS
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | Logto Cloud: Pro plan, $24/month; Logto self-hosted (commercial licence): every plan, from $249/month, billed annually; add-on: Enterprise SSO, $48/connector/month13 |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what Logto does.
- Casdoor An open-source, self-hosted identity and access management platform
- Keycloak Open source identity and access management for modern applications and services
- ZITADEL Identity infrastructure, simplified
- authentik The authentication glue you need
- Auth0 Hosted authentication and authorization for apps (an Okta product)
- Clerk Drop-in authentication and user management with prebuilt UI components
