sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.84k stars 308 forks source link

Need to Re-login Every Time Visual Studio Code is Opened #6228

Open GSGSDgggdzez opened 4 days ago

GSGSDgggdzez commented 4 days ago

Version

Version: Latest

Describe the bug

Every time I turn off my PC and reopen Visual Studio Code, I am required to re-login to the Sourcegraph extension. This issue leads to the accumulation of multiple API tokens, which makes it difficult to manage them effectively.

Steps to Reproduce:

  1. Turn off and On the PC.
  2. Open Visual Studio Code.
  3. Attempt to access the Sourcegraph extension.
  4. Notice that a re-login is required.

Expected behavior

I expected to remain logged in to the Sourcegraph extension after closing and reopening Visual Studio Code, allowing for a smoother workflow without the need to manage multiple API tokens.

Additional context

Screenshot 2024-11-29 142956

linear[bot] commented 4 days ago

BUGS-800 Need to Re-login Every Time Visual Studio Code is Opened

PriNova commented 2 days ago

Hey @GSGSDgggdzez

Thank you for raising this issue. What version of Cody are you using? Did you try to update to the latest version? May you please provide the output logs of the Cody extension?

Sorry for the inconvenience,