Skip to content

Logout doesn't fully clear credentials #760

@ethanndickson

Description

@ethanndickson

Issue:
After logging out, the extension still logs in automatically on the next login without prompting for a token.

Repro steps:

  1. Log in with a token.
  2. Click Logout in the UI.
  3. Restart VS Code.
  4. Attempt to log in to the same deployment

Expected: prompted for an API key.
Actual: logs in without prompting, suggesting I wasn't fully logged out.

From looking at the code, it looks like logout clears the active session but leaves the session token in VS Code SecretStorage, so login reuses the saved token instead of prompting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions