zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
173 stars 92 forks source link

Change Authentication method misbehavior in v3 #3142

Closed JillieBeanSim closed 1 month ago

JillieBeanSim commented 2 months ago

Describe the bug

Error returned when logging in Cannot read properties of undefined (reading 'includes'). This is likely caused by the extension that contributes zowe.profileManagement.

Seeing use basic auth as an option when basic auth is in place and not seeing token auth option It says User & Password but in description mentions login I see this is same as in v2 now but still confusing

Screenshot 2024-09-23 at 4 19 07 PM

github-actions[bot] commented 2 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.

traeok commented 2 months ago

When testing with a zosmf profile type and logging in via API ML, I selected "User & Password" to generate the token. After doing so, the token is generated and I do not encounter any errors. I can execute a search as expected.

However, if I change my authentication method back to direct login using user/password, then an error occurs after entering in my password. The message is different than the one posted above but is still a TypeError:

image


Regarding the prompt that is mentioned in the original report: this prompt is intentional and was added once we implemented authentication for API ML when using PEM certificates. The prompt is not for doing a direct login with user & password - it is prompting for what authentication method you want to use to generate the token.

JillieBeanSim commented 1 month ago

Seeing this with extenders that login without API ML too

Screenshot 2024-10-16 at 5 59 43 PM