You're viewing v1.0.0 — an older version. Go to the latest (v1.4.0) →
Configuration › Authentication

Authentication

Authentication

HTTP Basic Auth

# nginx example
git clone https://github.com/myuptime-info/uptimer-docs.git
cd uptimer-docs/examples/dev-http-auth
docker-compose up -d
# Access: http://localhost (admin/password)

More details

OIDC with Keycloak

git clone https://github.com/myuptime-info/uptimer-docs.git
cd uptimer-docs/examples/dev-keycloak
docker-compose up -d
# Access: http://localhost:2517 (test/test)

More details

OIDC with Auth0 (Cloud)

Similar to Keycloak, but requires Auth0 account configuration.

More details

All auth settings

Config and Environment Variables

server:
  auth:
    dev: false  # true - enable dev mode, false - disable
    oidc:
      client_id: "your-client-id"  # UPTIMER__SERVER__AUTH__OIDC__CLIENT_ID
      client_secret: "your-client-secret"  # UPTIMER__SERVER__AUTH__OIDC__CLIENT_SECRET
      issuer_url: "https://your-issuer.com"  # UPTIMER__SERVER__AUTH__OIDC__ISSUER_URL
      redirect_url: "http://your-domain/auth/callback"  # UPTIMER__SERVER__AUTH__OIDC__REDIRECT_URL