Description of problem: User login web console and go to https://xxx:8443/console/command-line, click "...click to show token..." and try to find a way to hide token again. Version-Release number of selected component (if applicable): openshift v3.4.0.15+9c963ec How reproducible: Always Steps to Reproduce: 1. User login web console and go to https://xxx:8443/console/command-line 2. Click to show token in the line "oc login https://xxx:8443 --token=...click to show token..." 3. Try to find a way to hide token again. Actual results: User can not hide the token which is sensitive. Expected results: User can fold token again. Additional info: Can work around by refreshing the web page, but may not working when network is bad for refresh and even hung.
Related PR: https://github.com/openshift/origin-web-console/pull/871
This has been merged into ocp and is in OCP v3.5.0.7 or newer.
Verified on openshift 3.5.0.7 Page shows "oc login https://x.x.x.x:8443 --token=<token>" with a warning "A token is a form of a password. Do not share your API token." User could still get the token by copying it
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0884