Logto Open Source Authentication and Authorization Infrastructure
Logto is a modern, open-source authentication and authorization infrastructure built on OIDC and OAuth 2.1. It provides multi-tenancy, enterprise SSO, RBAC, and SDKs for 30+ frameworks, making it the go-to Auth0/Cognito alternative for SaaS and AI applications.
Installation
Use the upstream install or setup path that matches your environment:
- docker compose -p logto -f - up
- npm init @logto
Requirements and caveats from upstream:
Using Docker Compose(requires Docker Desktop)
curl -fsSL https://raw.githubusercontent.com/logto-io/logto/HEAD/docker-compose.yml | \
Using Node.js (requires PostgreSQL)
Extracted from upstream docs: https://raw.githubusercontent.com/logto-io/logto/HEAD/README.md