Skip to content

Authentication

Configure authentication and access control for your Dagu instance.

Available Authentication Methods

Quick Start

Basic Authentication

yaml
auth:
  basic:
    username: admin
    password: secure-password

Token Authentication

yaml
auth:
  token:
    value: your-api-token

OIDC Authentication

yaml
auth:
  oidc:
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    clientUrl: "http://localhost:8080"
    issuer: "https://accounts.google.com"

Environment Variables

All authentication methods support environment variable configuration. See individual authentication type documentation for details.

Released under the MIT License.