You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
Angelika Ehlers edited this page Jan 9, 2018
·
1 revision
Issue:
When logging in to JENKINS following error is displayed:
{"error":"server_error","error_description":"The authorization server encountered an unexpected condition that prevented it from fulfilling the request.","state":"MTM0MjZlMjctNWI1MS00"}
Solution:
Add missing OAUTH annotation to jenkins service account
To check if the required annotation for OAUTH is configured:
oc get sa jenkins -o json
To Add the required OAUTH annotation:
oc annotate sa jenkins serviceaccounts.openshift.io/oauth-redirectreference.jenkins='{"kind":"OAuthRedirectReference","apiVersion":"v1","reference":{"kind":"Route","name":"jenkins"}}'