zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 85 forks source link

Breaking Change in User/Password/Token Order of Precedence #2109

Closed dkelosky closed 2 months ago

dkelosky commented 3 months ago

Describe the bug This commit is technically a breaking change for Zowe CLI.
https://github.com/zowe/imperative/commit/262f4fc84411e075e8e3af77ba2f8e663119be7d#diff-14634f70cce872732119d82fadcf7046800005fd18cca5ce7b7081672b9fdd2aL466

This changes the behavior in authentication order of precedence.

Expected and actual results Can the change be investigated as to provide an option to revert to the old behavior?

Describe your environment

Additional context

github-actions[bot] commented 3 months ago

Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

zFernand0 commented 2 months ago

We will implement as an optional constructor-level parameter. Said parameter will default to the original behavior in V2, and we will flip the value to the new behavior on V3.

gejohnston commented 2 months ago

Fixed as part of the pull request "Reinstate token precedence over password in AbstractRestClient" #2119