After creating a new user inside of Keycloak and when the auth service was restarted, lost access to Imaging and getting the white label error HTTP 401Unauthorised.
Solution
This error shows that the application tried to authenticate with the OAuth provider Keycloak but the request was rejected with TTP 401Unauthorised.
The password inside of the application.yml needs to match the one set in keycloak.
In Windows
- Update the password in the CAST-Imaging-Auth-Service>application.yml file
- Restart the service.
For Linux
- Navigate to /opt/cast/installation/imaging-services
- Edit the .env file and update the KC_PASSWORD entry to match the new password
- Run docker compose up -d so that the container reloads with the updated environment variables
Resources
CAST Imaging v3 Product Documentation
CAST Imaging Troubleshooting Guides
Additional Resources
CAST Highlight Product Documentation
CAST Highlight Troubleshooting Guides
Tickets
55214, 56576
Comments