-
Notifications
You must be signed in to change notification settings - Fork 98
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
Cannot switch from basic auth. to token-based auth. #2590
Comments
Thank you for creating a bug report. |
Thank you for raising this enhancement request. |
The opposite is also true - cannot switch from token auth to basic auth, unless you add a secure array containing "user" and "password" to the profile you want to use basic auth for. |
We have a way to clear the secure array using Imperative's low-level Config API:
This requires that you know the name of the profile where the secure array is located. Perhaps it would be more convenient for us to add a method to the ProfileInfo API that given a profile name, can find the service or base profile where the secure array is located and clear it? |
FWIW, I kind of agree with this 😋 |
Describe the bug
Previously, a user could access the "Log in to authentication service" option to update a profile to use token-based authentication.
Now, starting with v2.12.0: if a user has basic authentication configured for a specific profile, that profile cannot be updated to token-based auth. using Zowe Explorer. This is because the "Manage Profile" feature hides certain options based on the profile's current authentication type.
To Reproduce
Expected behavior
The "Log in to authentication service" option should still be accessible when managing profiles that use basic authentication.
If necessary, we can warn the user that they are switching their authentication type if trying to switch from token-based -> basic, or vice versa.
Desktop (please complete the following information):
main
(2.12.2)Additional context
One workaround is to remove the
user
andpassword
props from thesecure
array in the Zowe config, but this is not generally recommended.The text was updated successfully, but these errors were encountered: