microsoft / microsoft/vscode

Delay Sign in to ChatGPT entry until GitHub authentication state is resolved

Open
#336,577 0 comments 0 reactions 1 assignee Claimed by @Giuspepe View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

### Type of Bug

Authentication / Accounts

### Steps to reproduce

1. Start VS Code with `./scripts/code.sh --transient`.
2. Open the Accounts menu while authentication providers are initializing.

### Actual behavior

The **Sign in to ChatGPT** entry can appear before the GitHub authentication state has been resolved. Since ChatGPT authentication is available from the agent host sooner than GitHub authentication is available from the extension host, this temporarily makes ChatGPT sign-in appear to be the primary or only available sign-in path.

### Expected behavior

Delay showing the **Sign in to ChatGPT** entry until the GitHub authentication state is resolved, so the Accounts menu presents the available sign-in choices together and avoids misleading prominence during startup.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.