`oc login` states `You must obtain an API token` since Red Hat OpenShift Container Platform 4.7

Solution In Progress - Updated -

Issue

oc login states You must obtain an API token since Red Hat OpenShift Container Platform 4.7

4.6 client:

[quicklab@upi-0 ~]$ oc login --server=https://(...):6443 --insecure-skip-tls-verify=true
Authentication required for https://api.(...):6443 (openshift)
Username: ^C

4.7 client:

[quicklab@upi-0 ~]$ oc login --server=https://(...):6443 --insecure-skip-tls-verify=true
You must obtain an API token by visiting https://oauth-openshift.apps.(...)/oauth/token/request

Environment

Red Hat OpenShift Container Platform 4.7

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