oc login failing intermittently
Issue
- When trying to login the cluster, it fails intermittently:
# oc login -u <username> -p <passwd> --server=https://10.xy.y.z:6443 --insecure-skip-tls-verify=true
error: invalid_grant The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
Environment
- Openshift Container Platform
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.