After upgrading users cannot access Infrastructure Management
After upgrading, an OIDC provider error can be seen when you access Infrastructure Management.
This error can result in the following error message:
OpenID Connect Provider error: Error in handling response type.
Solution: To resolve this issue, complete the following steps:
-
Log in to your Red Hat OpenShift cluster:
oc login -
Change to the Infrastructure Management project:
oc project management-infrastructure-management -
Save the secret encoded string to a file and use the
base64command to decode the data and direct the output to another text file.oc get secret -o jsonpath='{.data.oidc\.conf}' ibm-infra-management-application-connection | base64 -d | sed -e 's#oidc/endpoint/OP/jwk#idprovider/v1/auth/jwk#g'> oidc_new.confcat oidc_new.conf | base64 | tr -d '\n' -
Replace the value above in the secret
ibm-infra-management-application-connectionin theoidc.confoc edit secret ibm-infra-management-application-connection- Replace oidc.conf with the new value in step 3.
- Save the secret.
-
Restart the
httpdpod in themanagement-infrastructure-managementnamespace to pick up the changes by deleting the<httpd_pod_instance_name>. For example,oc delete pod `oc get pod | grep httpd | cut -f1 -d" "`