-
Notifications
You must be signed in to change notification settings - Fork 37
Improve credential management: clear on logout, add switch and manage commands #768
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
Conversation
…der#760) - Logout now clears stored credentials via secretsManager.clearAllAuthData() - Add "Switch Deployment" command to change deployments without clearing credentials
Replace debug-only coder.debug.listDeployments with user-facing coder.manageCredentials command. Includes "Remove All" option with confirmation dialog when multiple deployments are stored.
|
Is it possible to add tests for this? |
We do not really have any |
mtojek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I agree with Danielle's take on testing, we may need to consider mocking vscode.window sooner than later
18a3c44 to
362b397
Compare
|
Created #769 |
Summary
Changes
Logout behavior: Previously, logging out only cleared the session but left credentials stored. Now it properly clears all auth data for the deployment.
Switch Deployment: New command for users who work with multiple deployments. Allows switching without losing credentials for other deployments.
Manage Stored Credentials: Replaces the debug-only
coder.debug.listDeploymentscommand with a user-facing command that:Fixes #760