zowe / cics-for-zowe-client

Monorepo for all CICS related APIs and Apps built by Zowe Clients
https://www.zowe.org/
Eclipse Public License 2.0
1 stars 3 forks source link

When a 401 response is received let the user know their credentials are invalid #61

Open Joe-Winchester opened 2 years ago

Joe-Winchester commented 2 years ago

Problem A User was trying to connect and had their password wrong, but didn't get any visual feedback so it was revoked after a few attempts and they needed to get it reset

Solution Show the 401 error message (which the rNext Zowe Explorer has) but also deal with 401 specially to let the user know it's because authentication failed with bad credentials. It could be good also to have an "Open Profile" button against the error message to allow the user to quickly open their profile and remedy the password. With TSO login it's possible to distinguish between bad user ID and bad password, however for the 401 response from CICS it may not be possible to separate the two conditions, so the error message should mention Invalid credentials (wrong userID or password)

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