How to set up VoidAuth OIDC integration
Note: Change
https://voidauth.example.comandhttps://dawarich.example.comto your actual url.
VoidAuth Configuration
We start by creating Dawarich as a OIDC Client in the Voidauth dashboard.
- Open your dashboard and sign in as a user in group
auth_admins - Navigate to
Admin→OIDC - Create a new
OIDC Client - 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
- Display Name:
- 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.