question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Git doesn't use VS Code for auth on Windows

See original GitHub issue

Testing on Windows 10 in Git Bash running in VS Code, first not GH authenticated in VS Code:

haral@… ~/Downloads/vscode (independent-ox)
$ git push --set-upstream origin independent-ox warning: could not find UI helper 'GitHub.UI*
Select an authentication method for https://github.com/':
1. Web browser (default)
2. Device code
3. Personal access token option (enter for default):

Worse, it persists even when VS Code is authenticated against GH.

Expected behavior: VS Code handles auth.

Probably related: https://github.com/microsoft/vscode/issues/169347

VS Code version: Code - Insiders 1.75.0-insider (44531ffc7b7477dbe82750040d8ed69bae2bb140, 2022-12-15T08:33:44.005Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: Yes

System Info
Item Value
CPUs Intel® Core™ i7-7700HQ CPU @ 2.80GHz (8 x 2808)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 15.86GB (8.72GB free)
Process Argv –crash-reporter-id 3adeb0c6-b0f1-4dc0-b854-0141c0cd4f7e
Screen Reader no
VM 0%
Extensions: none

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
TylerLeonhardtcommented, Dec 16, 2022

I think the Git extension just needs to ask for auth at the right time. Shouldn’t need anything from the GitHub auth side here.

0reactions
TylerLeonhardtcommented, Dec 16, 2022

@lszomoru do you foresee any issues with being first instead of last? The alternative is having us work with whoever is providing this prompt to well… not provide it in VS Code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remote Development Tips and Tricks - Visual Studio Code
Visual Studio Code Remote Development troubleshooting tips and tricks for SSH, Containers, and the Windows Subsystem for Linux (WSL)
Read more >
Visual Studio Code is always asking for Git credentials
For Windows 10: go to Control Panel → Credential manager → Windows Credential → click on the Git link, → ...
Read more >
Use Git Credential Manager to authenticate to Azure Repos
Git Credential Manager simplifies authentication with your Azure Repos Git repositories. Credential managers let you use the same credentials ...
Read more >
Vscode git authentication failed - Ristorante Lorenzo Le Vedute
Hi, I have problem with pushing commited files on GitHub using VS Code. In the browser window, you will receive your authorization token....
Read more >
Install Git and Github in VSCode (Visual Studio Code)
3. Enable Git in VS Code · Go to File > Preferences · Go to Settings · Type Git: Enabled in the search...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found