"Login with OpenShift" does not work in ArgoCD

Solution Verified - Updated -

Issue

  • When trying to log into ArgoCD using the "Login with OpenShift" method, the login does not work and there is no error message.
  • Logging into OpenShift GitOps using "Login with OpenShift" times out.
  • The openshift-gitops-dex-server Pod in the openshift-gitops namespace is showing an oidc: failed to get token: context canceled error:

    2022-08-18T12:37:57.543121453Z time="2022-08-18T12:37:57Z" level=error msg="Failed to authenticate: oidc: failed to get token: context canceled"
    2022-08-18T12:39:16.343070882Z time="2022-08-18T12:39:16Z" level=error msg="Failed to authenticate: oidc: failed to get token: context canceled"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.10
  • OpenShift GitOps 1.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content