Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
An open-source authentication and authorization service built on OIDC and OAuth 2.1, with multi-tenancy, SSO, RBAC and prebuilt sign-in flows for SaaS and AI apps. It runs as a Node.js service on PostgreSQL, with a separate admin console.
Runs on a VPS from $96/mo (Linode Linode 16 GB, 16 GB RAM) · prices checked Nov 2026
Fits home hardware (259 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# Logto + PostgreSQL — API on :3001, admin console on http://SERVER_IP:3002
echo "PG_PASS=$(openssl rand -hex 16)" > .env
cat > docker-compose.yml <<'EOF'
services:
app:
image: svhd/logto:1.43.0
depends_on: { postgres: { condition: service_healthy } }
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
restart: unless-stopped
ports: ["3001:3001", "3002:3002"]
environment:
TRUST_PROXY_HEADER: 1
DB_URL: postgres://postgres:${PG_PASS}@postgres:5432/logto
ENDPOINT: http://SERVER_IP:3001
ADMIN_ENDPOINT: http://SERVER_IP:3002
postgres:
image: postgres:17-alpine
user: postgres
restart: unless-stopped
environment: { POSTGRES_USER: postgres, POSTGRES_PASSWORD: "${PG_PASS}" }
volumes: ["logto-db:/var/lib/postgresql/data"]
healthcheck: { test: ["CMD-SHELL", "pg_isready"], interval: 5s, timeout: 5s, retries: 10 }
volumes: { logto-db: {} }
EOF
docker compose up -d # then create the admin account in the console on :3002Logto used 259 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.8.1 (first boot, measured Sep 2026). We list a minimum of 8192 MB.
The Logto install snippet is marked verified on Ubuntu 26.04 (Nov 2026).