Config with both APIML and direct-connection profiles gets authentication errors #1868
Labels
bug
Something isn't working
priority-high
Production outage - this quarter or at least next quarter
severity-high
Bug for which there may be workaround but limits the usage of the Zowe for major use cases
When both an APIML-controlled profile and a direct-to-service profile are both in a team config file, you can encounter an error which implies that you need an APIML token to connect to the direct-to-service profile.
This misbehavior occurs in both Zowe Explorer and Zowe CLI. A fix might be made to both of those repos, or in common code in imperative. I am opening this issue in imperative since the misbehavior applies to multiple products.
The configuration file contains the following profiles:
Zowe Explorer behavior
The error occurs when you login to APIML (but do not actually perform any action on a profile controlled by APIML), then login to a direct-to-service profile. The following sequence recreates the error:
Zowe CLI behavior
With the same config, you get comparable results by taking the following actions.
zowe auth login apiml
zowe zos-files list data-set "SYS1.PARMLIB*" --zosmf-p zosmf-dev
The text was updated successfully, but these errors were encountered: