-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub authorization keeps popping up #219318
Comments
/gifPlease |
Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording ( Happy coding! |
The code used to switch between the gh accounts (different account credentials in each script):
My guess that the constant switching between the accounts causes this issue because after I get this popup and authorize with the current GH profile in a browser after about 15 minutes I get this popup again |
@Dunridge77, thanks for the screenshot. I believe that this auth dialog comes from the GitHub CLI. Do you have the GitHub CLI installed? @TylerLeonhardt, I tend to remember you mentioning that there is a known issue with the GitHub CLI. Do you have any additional information about the issue? Thanks! |
@lszomoru Yes, I have it installed. I use Git Bash to write git commands when setting up a repo and GH Desktop to commit/push And this popup appears only when I open VS Code |
There's this one... #217667 similar in that it's CLI related. What could be happening here, and this is a guess, VS Code is running certain git commands that shell out to the git credential manager which, in this case, is handled by the In any case, since this is shown by the CLI, it'd be great if you could get an issue going over here: VS Code isn't really to blame here, we just execute CLI commands to provide our git UI. |
@TylerLeonhardt thank you, I opened the issue here -- cli/cli#9361 (comment) |
Thanks for the update! I will go ahead and close this issue for now. |
Type: Bug
I'm seeing an issue where autorization with GitHub popup keeps appearing and asking me to authorize. After I authorize and continue with my work this window appears again. I wrote a bash scripts to switch between github accounts (work and personal) and I think this switching causes the problem. How can I fix this?
VS Code version: Code 1.90.2 (5437499, 2024-06-18T22:34:26.404Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (30)
A/B Experiments
The text was updated successfully, but these errors were encountered: