Skip to content
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

Profile validation assumes token auth for profile using basic auth #2682

Closed
Tracked by #2252
t1m0thyj opened this issue Jan 24, 2024 · 4 comments
Closed
Tracked by #2252

Profile validation assumes token auth for profile using basic auth #2682

t1m0thyj opened this issue Jan 24, 2024 · 4 comments
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Comments

@t1m0thyj
Copy link
Member

t1m0thyj commented Jan 24, 2024

Describe the bug

In some cases when issuing a filter prompt for a profile that uses basic auth, profile validation is performed for the wrong profile (a different one that uses token auth).

To Reproduce

  1. Create a project team config with a zosmf (apiml) profile and base profile using token auth
  2. Log in to authentication service and wait for token to expire
  3. Create a global team config with a zosmf (direct to service) profile and base profile using basic auth
  4. Ensure user/password are stored for the 2nd base profile
  5. Issue a USS search for the direct to service zosmf profile
  6. See a popup requesting to "log in to authentication service"

Expected behavior

The default base profile using token auth in project team config should not have any effect on global team config which contains an identically named base profile using basic auth

Screenshots

image

Desktop (please complete the following information):

  • OS: MacOS 14.3
  • Zowe Explorer Version: 2.14.0

Additional context

Copy link

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.

@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. labels Jan 30, 2024
@zowe-robot zowe-robot moved this from New Issues to Medium Priority in Zowe Explorer for VS Code Jan 30, 2024
@JTonda
Copy link

JTonda commented May 20, 2024

Workaround: Rename the project base profile.

Note:
Possibility of having the zowe config init to use a different name (projectBase). Make sure that this also applies to the profile info apis.

@t1m0thyj
Copy link
Member Author

t1m0thyj commented Jul 22, 2024

The enhancement to rename base profiles has been made in Zowe SDKs: zowe/zowe-cli#2194

Before the ZE V3 release, we'll need to update our SDK deps to benefit from this enhancement

@awharn
Copy link
Member

awharn commented Aug 2, 2024

The enhancement to rename base profiles has been made in Zowe SDKs: zowe/zowe-cli#2194

Before the ZE V3 release, we'll need to update our SDK deps to benefit from this enhancement

Completed in #3020 and #2994

@awharn awharn closed this as completed Aug 2, 2024
@github-project-automation github-project-automation bot moved this from Medium Priority to Closed in Zowe Explorer for VS Code Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Projects
Status: Closed
Development

No branches or pull requests

3 participants