v3: Should presence of tokenValue in profile take precedence over user and password? #1794
Labels
community-issue
keep
Issues with this label will be ignored by the stale bot
priority-medium
Not functioning - next quarter if capacity permits
question
Further information is requested
Question: If a profile in zowe.config.json has both tokenValue and user/password defined, which should take precedence?
Please read the context below and react to this issue with an emoji:
Current Behavior
In Zowe v2, the behavior is different between Zowe CLI (and SDKs) and Zowe Explorer.
Zowe CLI gives precedence to user and password. They must be removed from the profile for tokenValue to take effect.
Zowe Explorer gives precedence to tokenValue instead.
Expected Behavior
In Zowe v3, we could make this behavior consistent between CLI and Explorer.
Since it is a new major version, breaking changes to the order of precedence are allowed in accordance with semver.
It has been suggested by some users (see zowe/imperative#1008) that tokenValue should have precedence.
The text was updated successfully, but these errors were encountered: