Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

VSCode Search extension does not persist creds unless manually added to json settings #58722

@AJKemps

Description

@AJKemps

Sourcegraph version: 5.2.2
Reported by: https://github.com/sourcegraph/accounts/issues/6938

Steps to reproduce:

Add the Sourcegraph Search extension to VS Code and authenticate by adding a token and url via the extension auth flow.

Close VS Code, come back to VS Code, open the extension and see that you've been logged out.

Manually adding the url and token to the extensions settings.json file resolves the issue.

Expected behavior:
Sourcegraph Search VS Code extension remembers auth upon restart.

Actual behavior:
Sourcegraph Search VS Code extension does not remember auth upon restart unless the url and token are manually added to the settings.json file for the extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error, flaw or fault that produces an incorrect or unexpected result, or behavior.customerImportant issues reported or desired by a customer.vscode-search

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions