Configure Keycloak - Frontend and Backend.
Keycloak Frontend
Please read the guide "Setup Keycloak" before attending this guide. In order to use Keycloak properly with our products you have to configure frontend and backend correctly. This guide requires that you are familiar with docker. Let us begin with frontend:
- Go to Keycloak, Realm:accurate-video -> Clients -> qc-web -> Installation. Select "Keycloak OIDC Json" in the dropdown and click "Download".
- Make sure that the file you downloaded are mounted in the qc-web-container under /usr/share/nginx/html/assets/json/keycloak.json
- Set authentication.disabled = false in settings.js
Keycloak Backend
- Create the file prod-users.properties with the content: runner=passwordXYZ
- Make sure that the file are mounted in the container of the adapter beneath /opt/prod-users.properties
- For the container of the runner, set the following:
AP_ADAPTER_USERNAME=runner
AP_ADAPTER_PASSWORD=passwordXYZ
- For the container of the adapter, set the following:
AUTH_JWT_USERNAME=preferred_username
AUTH_JWT_ENABLED=true
AUTH_ENABLED=true
AUTH_JWT_ISSUER=http://keycloak-url/auth/realms/accurate-video
AUTH_JWT_JWK_FILENAME=http://keycloak-url/auth/realms/accurate-video/protocol/openid-connect/certs
This concludes the guide for Configuring Keycloak, frontend and backend.