First-run setup
++ Save the basic settings DMARQ needs before the dashboard is used.
-☁️ 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).
-
Setup is complete.
+ +- 2 - Create a "Traditional Web" application in Logto -
--
-
- Open the Logto Console → Applications → Create application. -
- Choose Traditional Web. -
- Enter a name, e.g. DMARQ. -
-
- Set the Redirect URI to:
-- <your-dmarq-url>/api/v1/auth/callback --
- -
- Set the Post Sign-out Redirect URI to:
-- <your-dmarq-url>/login --
- - Save and note the App ID and App Secret. -
- 3 - Set environment variables and restart {{ app_name }} -
-
- 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.
+
- 4 - (Optional) Add authentication providers in Logto -
-- 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. -
-- - Alternative: disable authentication entirely -
-- 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.
-
Next steps
+-
+
- + + Add a mail source from the Mail Sources page. + +
- + + Import DMARC reports from Gmail, IMAP, upload, or webhook. + +
- + + Use DNS health checks to review SPF, DKIM, and DMARC records. + +
-