New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] oc login doesn't work without username oc login https://api.crc.testing:6443
#2032
Comments
|
Apparently this was introduced in oc by openshift/oc#553 |
This avoids the following error message when running oc login. ``` $ oc login https://api.crc.testing:6443 You must obtain an API token by visiting https://oauth-openshift.apps-crc.testing/oauth/token/request ``` OpenShift 4.7 introduced this. 4.6.16 was fine. Related to crc-org#2032
This avoids the following error message when running oc login. ``` $ oc login https://api.crc.testing:6443 You must obtain an API token by visiting https://oauth-openshift.apps-crc.testing/oauth/token/request ``` OpenShift 4.7 introduced this. 4.6.16 was fine. Related to #2032
|
Based on #2033 has been merged, I guess this can be closed, right? Thanks |
|
Did we make this change on purpose? It looks like it. If so, this is really confusing to our customer base. Also, our documentation is out of date atm: https://docs.openshift.com/container-platform/4.7/cli_reference/openshift_cli/getting-started-cli.html#cli-installing-cli_cli-developer-commands What about changing the following message: At least to: So that we spare our customers the step to open our documentation? |
|
@andreaskaris I totally agree with your point. Your suggestion looks good. Maybe open a PR or an issue in the oc repo ? |
|
Done: openshift/oc#817 Sorry, I had not realized that this was the wrong repository :-) |
|
The usage message is working in crc. We can't do much for now. |
It is happening with 4.7.0 bundles, works as expected with 4.6.x bundles.
The text was updated successfully, but these errors were encountered: