-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with authentication prompts when using profiles #3329
Comments
Thank you for creating a bug report. |
We have this issue big time, in that when our mainframe password is changed (every month), zowe consistently spams the mainframe with the incorrect credentials, causing mainframe lockout and having to go through the steps to unlock the account. It would be a great step forward to have this fixed on 3.x! |
I have also hit the issue where it uses my creds, they fail, it prompts me to update, fails to update, and then tries them again. Because there are 3 trees all using the same creds, it's easy to get locked out :-D Would this issue be the right one to cover "don't reuse credentials after a 401, until they've changed"? |
@davenice Yes, I think this related to what @Buckminsterfullerene02 mentioned regarding the repeated attempts. This is primarily due to VS Code making requests for files in opened editors or virtual workspaces - multiple requests are made at the same time and our APIs do not currently support handling race conditions. I've been working on a PoC for locking profiles to prevent subsequent operations in the filesystem with the same invalid credentials. This should also resolve the lockout issue since only one request is sent with invalid credentials before the profile is "locked." Hoping to get this out in time for the 3.1.0 release. |
Describe the bug
There are a few issues with how we prompt for authentication when using profiles. Some issues are exclusive to v3 and others span across both major versions.
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: