Logto is configured!
Authentication is ready. You can now sign in.
Choose one of the options below. Both are free to start.
☁️ Logto Cloud (recommended)
Sign up at cloud.logto.io. The free tier supports unlimited users.
🐳 Self-hosted (Docker)
Add Logto to your docker-compose.yml
(see the
Logto deployment guide).
<your-dmarq-url>/api/v1/auth/callback
<your-dmarq-url>/login
Add the following to your .env file or Docker environment:
# Logto endpoint – the base URL of your Logto instance
LOGTO_ENDPOINT=https://<your-tenant>.logto.app
# Application credentials from the Logto Console
LOGTO_APP_ID=<your-app-id>
LOGTO_APP_SECRET=<your-app-secret>
# Optional: override the callback URL (defaults to <base_url>/api/v1/auth/callback)
# LOGTO_REDIRECT_URI=https://dmarc.example.com/api/v1/auth/callback
For Docker Compose, set these in the environment: section
of the backend service and run docker compose up -d --force-recreate.
Logto lets you enable social providers (Google, GitHub, Microsoft, …), SMS / email passwordless, and multi-factor authentication entirely through its console – no code changes needed in {{ app_name }}.
See the Logto connector docs for details.
If you're running {{ app_name }} locally or behind a trusted reverse proxy that already handles authentication, you can skip Logto and grant everyone full access by setting:
AUTH_DISABLED=true
Never set AUTH_DISABLED=true on a
publicly reachable instance. Anyone with network access will have full admin access.