Hide Forgot
Description of problem: User login got "error: unsupported protocol scheme" after the grantMethod of openshift-challenging-client oauthcliet is prompt. Version-Release number of selected component (if applicable): # openshift version openshift v3.3.0.24-dirty kubernetes v1.3.0+507d3a7 etcd 2.3.0+git How reproducible: always Steps to Reproduce: 1. Change the grantMethod of openshift-challenging-client to prompt 2. Try to oc login the master 3. Actual results: oc login <master host> The server uses a certificate signed by an unknown authority. You can bypass the certificate check, but any data you send to the server could be intercepted by others. Use insecure connections? (y/n): y Authentication required for <master URL> (openshift) Username: wjiang Password: error: unsupported protocol scheme "" Expected results: Should login successfully Additional info:
CLI login when grant prompt is required is not currently supported, but we should display a nicer message or redirect to a web flow
(In reply to Jordan Liggitt from comment #1) > CLI login when grant prompt is required is not currently supported, but we > should display a nicer message or redirect to a web flow Agree with you. And when I try to write the expected result, I am not sure if oc can login succefully when grantMethod is prompt.
Is this still a valid bug ? Can we close ?