How to set up VoidAuth OIDC integration

How to set up VoidAuth OIDC integration

Note: Change https://voidauth.example.com and https://dawarich.example.com to your actual url.

VoidAuth Configuration

We start by creating Dawarich as a OIDC Client in the Voidauth dashboard.

  1. Open your dashboard and sign in as a user in group auth_admins
  2. Navigate to AdminOIDC
  3. Create a new OIDC Client
  4. Enter the following information:
    • Display Name: Dawarich
    • Client ID: «generate id»
    • Auth method: Client Secret Basic
    • Client Secret: «generate secret»
    • Redirect url: https://dawarich.example.com/users/auth/openid_connect/callback
  5. Create Application

Dawarich Configuration

Edit your docker-compose.yml for the Dawarich deployment. Add the following environment variables under the dawarich_app
container:

OIDC_CLIENT_ID=client_id
OIDC_CLIENT_SECRET=client_secret
OIDC_ISSUER=https://voidauth.example.com/oidc
OIDC_REDIRECT_URI=https://dawarich.example.com/users/auth/openid_connect/callback

See release notes for v0.36.0 for more details on environment variables.

1 Like