Skip to content

'Bad credentials' pop up even after I have logged in github via browser #8738

@bryanchen-d

Description

@bryanchen-d

Steps to Reproduce on a mac:

  1. Go to github.com → Settings → Applications → Authorized OAuth Apps → revoke the VS Code token
  2. launch vscode with github request extension installed on a repo requires github auth (e.g. vscode-engineering), which will trigger an API call in the extension (e.g., open the PR panel, refresh)
  3. now it will ask for re-login since the auth was invalidated
  4. log in github via browser and come back to vscode
    ✅ Expected : github request extension works to pull my PRs.
    ❌ Actual: it shows: 'Bad credentials - https://docs.github.com/rest'

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions