GoDoxy
Advanced TopicsMiddlewaresAuthentication and Security

OIDC

OpenID Connect authentication

Configuration

Middleware

OptionDescriptionDefault
allowed_usersAllowed usersGODOXY_OIDC_ALLOWED_USERS
allowed_groupsAllowed groupsGODOXY_OIDC_ALLOWED_GROUPS
client_idClient IDGODOXY_OIDC_CLIENT_ID
client_secretClient secretGODOXY_OIDC_CLIENT_SECRET
scopeOAuth scopeGODOXY_OIDC_SCOPE

See OIDC Configuration for more information.

Examples

WebUI

Enabled by default if environment variables are set.

Entrypoint

entrypoint:
  middlewares:
    - use: oidc
      bypass:
        - route pocket-id
        - route immich & path glob(/api/*)
        - remote 127.0.0.1
        - remote 192.168.0.0/16

Docker Labels

proxy.#1.middlewares.oidc: |
  allowed_users: user1, user2
  allowed_groups: group1, group2
  client_id: client1
  client_secret: secret1
  scope: openid, profile, email, groups

Route Files

myapp:
  middlewares:
    oidc:
      allowed_users: user1, user2
      allowed_groups: group1, group2
      client_id: client1
      client_secret: secret1
      scope: openid, profile, email, groups

On this page