What is Logto?
What developers actually liked about Auth0 was the first hour: drop-in sign-in pages, a quickstart per framework, social logins in minutes. Logto rebuilds that experience as MPL-2.0 open source - pre-built auth flows, organizations, MFA, and SDKs for every stack - without the per-MAU cliff that follows.
One container serves two origins (the user-facing auth endpoint and your admin console), so the template gives each its own domain via thin proxies - the same pattern as Saleor. Database seeding is idempotent and runs on every boot; the managed Postgres is wired automatically.
This completes a four-IdP identity lane with honest positioning: Logto for the Auth0-style developer experience, Zitadel for B2B multi-tenancy, authentik for flow design, Keycloak for protocol depth.
What you get
- Pre-built, themeable sign-in pages - auth UX without building it
- OIDC/OAuth, social providers, passwordless, MFA
- Organizations and RBAC for B2B apps
- Quickstart SDKs: React, Next, Vue, iOS, Android, and more
- Idempotent seeding; stateless on managed Postgres
- MPL-2.0 - no MAU meters anywhere
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
logto | auth endpoint (:3001) + admin console (:3002) | no |
web-auth / web-admin | nginx :5000 proxies - two public domains | yes |
db | Postgres - managed service on Lyngbak, container locally | no |
Before you deploy
ENDPOINT / ADMIN_ENDPOINTthe two apps’ https domains after first deploy
Sizing and billing
1 GiB for the Node app suits real traffic; everything persistent is in the managed Postgres. Claim the admin console promptly - the first signup becomes admin.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 4.88 GiB of volumes cost $0.15 per GiB a month ($0.73/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Auth0 | Essentials (B2C) | $70/mo | at 1,000 MAU; Professional from $240/mo - the experience Logto cloned, minus the meter |
| Clerk | Pro | $25/mo | base + $0.02 per monthly retained user past 50k; SSO connections $75 each |
Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does Logto compare to Auth0 pricing?
Auth0’s free tier now covers 25k MAU, but paid plans price per thousand-MAU step and climb steeply. Logto here has no user counting - and the developer experience (hosted pages, SDK quickstarts) is the part it cloned best.
Why does it need two domains?
Logto deliberately separates the user-facing auth origin from the admin console origin - good security hygiene. Each platform app exposes one public port, so two thin proxies give each origin its own domain; ENDPOINT and ADMIN_ENDPOINT tell Logto which is which.
Which IdP in this catalogue should I pick?
Logto if you want Auth0-style drop-in auth for a product fast. Zitadel for passkeys-first B2B multi-tenancy. authentik for visually-designed flows across many internal apps. Keycloak for maximum protocol surface. All four are in this catalogue - trying two is an afternoon.