Failed to verify token: failed to verify token: oidc: expected audience "argo-cd" got "argo-cd-cli"
Issue
-
Issues with the argo-cli, when logging on with Openshift Oauth, after upgrading the Openshift GitOps operator to the
v1.5.9
time="2023-02-09T12:47:18Z" level=warning msg="Failed to verify token: failed to verify token: oidc: expected audience \"argo-cd\" got [\"argo-cd-cli\"]" time="2023-02-09T12:47:18Z" level=info msg="finished unary call with code Unauthenticated" error="rpc error: code = Unauthenticated desc = invalid session: failed to verify the token" grpc.code=Unauthenticated grpc.method=ListAccounts grpc.service=account.AccountService grpc.start_time="2023-02-09T12:47:18Z" grpc.time_ms=8.659 span.kind=server system=grpc
Environment
- Red Hat OpenShift Container Platform(RHOCP)
- 4.x
- Red Hat OpenShift GitOps
- 1.5.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.