Unable to get token with command "oc whoami -t" in Openshift.
Issue
- Failing to fetch token, while trying the following command:
$ oc whoami -t
error: no token is currently in use for this session
Environment
Openshift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.