When re-authenticating user should not be asked to delete their account.
Currently, when users attempt to re-authenticate their GitLab account in the VS Code extension using the GitLab: Authenticate command, they encounter an unnecessary friction point. The extension prompts them to manually delete their existing account credentials before they can proceed with re-authentication.
Current Behavior
- User executes
GitLab: Authenticatecommand - Extension detects an existing authenticated session
- User is presented with a prompt/message requiring them to delete the current account first
- User must manually remove the existing account
- Only then can they proceed with the authentication process
Expected Behavior
The re-authentication flow should be seamless:
- User executes
GitLab: Authenticatecommand - Extension automatically handles the existing session (either by replacing it or prompting for confirmation to replace)
- User proceeds directly to the authentication flow without manual deletion steps
Edited by Shekhar Patnaik