Checking the currently used OIDC parameters
Find the parameters used for container runtime and put them in a curl command.
Test OIDC parameters
The parameters currently in use are not necessarily located in the store/toolbox/config subfolder as usual. Since requisis_Toolbox is a container application, you must navigate to it in the running container.
Before you start working with the instructions described here, we recommend that you open an editor for inserting and sorting character strings.
You can list all currently running containers with the command docker ps. Open a console on your corresponding toolbox-server container. If you do not have a graphical user interface, you can use the command docker exec -it <container name> /bin/bash to open bash there.
Navigate to the app/config folder, where you will find the parameters.yml file used for container runtime. Display the file in the console using the command cat parameters.yml.
Copy the value of the auth.oidc.provider parameter and append the following string to it without any gaps:
/.well-known/openid-configuration
Copy the entire string to your clipboard. Now use curl -I and append the string. When you execute this command, you will receive an .html file with an HTTP status code as a response. Here is a Wikipedia article that will help you interpret the status code.
To write the response to an HTML file, modify the command as follows:
curl -I -o answer.html <auth.oidc.provider>/.well-known/openid-configuration
Test forwarding:
To test the redirection after authorization by the OIDC provider, you need the values of the following parameters from the same parameters.yml file:
<auth.oidc.login.url>
<auth.oidc.client.id>
<auth.oidc.respons_type>
<auth.oidc.callbackurl>
<auth.oidc.login.additional_parameter>
Copy all parameters mentioned here into your editor and add the bold strings from the following box:
<auth.oidc.login.url>?client_id=<auth.oidc.client.id>&response_type=<auth.oidc.login.response_type>&redirect_uri=<auth.oidc.login.callbackurl>&<auth.oidc.login.additional_parameter>
The finished string must not contain any spaces or similar characters. Copy the entire string into your browser's address bar and open it. You will be redirected to the login page of your OIDC provider and will receive error messages for debugging in case of configuration problems.
Once the redirection is working, you will be taken to the login page of the requisis_Toolbox and will receive the following error message:
