Authentication
Built-in OIDC
Section titled “Built-in OIDC”OIDC is enabled when all three required provider settings are present:
| Variable | Default | Description |
|---|---|---|
OIDC_ISSUER |
unset | Provider issuer or discovery URL |
OIDC_CLIENT_ID |
unset | Registered client ID |
OIDC_CLIENT_SECRET |
unset | Registered client secret |
OIDC_REDIRECT_URI |
auto-detected | Explicit callback URL when proxy headers do not produce the public URL |
OIDC_SCOPES |
openid profile email |
Space-separated requested scopes |
SESSION_SECRET |
generated per process | Cookie-signing secret; set a stable, random value in production |
SESSION_MAX_AGE |
28800000 |
Session lifetime in milliseconds (eight hours) |
OIDC_ISSUER=https://auth.example.com/realms/homelabOIDC_CLIENT_ID=dockdashOIDC_CLIENT_SECRET=replace-with-provider-secretSESSION_SECRET=replace-with-a-long-random-valueOIDC_REDIRECT_URI is normally inferred from the request. Set it explicitly when proxy headers do not describe the public URL correctly:
OIDC_REDIRECT_URI=https://dockdash.example.com/auth/callbackRegister that exact callback URL with your identity provider.
Authenticated reverse proxy
Section titled “Authenticated reverse proxy”You can instead put DockDash behind Caddy, Traefik, nginx, oauth2-proxy, Authelia, Tailscale, or another authentication layer.
Prevent clients from bypassing the proxy by binding the published port to loopback:
ports: - "127.0.0.1:3001:3001"If the reverse proxy is on a separate Docker network, do not publish the DockDash port at all; connect the proxy directly to that network.
Trusted proxy settings
Section titled “Trusted proxy settings”DockDash defaults TRUST_PROXY to loopback, uniquelocal. Use true only when every upstream proxy is trusted. An overly broad setting can allow clients to spoof forwarded connection information.
Review Security before enabling remote access.