mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-02-04 03:51:16 -06:00
VSCodium 1.45.0 cannot authenticate with Github #1250
Closed
opened 2025-09-10 23:51:31 -05:00 by giteasync
·
51 comments
No Branch/Tag Specified
master
insider
1.108.20787
1.108.10359
1.107.18627
1.107.18605
1.106.37943
1.106.37938
1.106.27818
1.105.17075
1.105.17017
1.105.16999
1.105.16954
1.105.06922
1.105.06808
1.104.36664
1.104.26450
1.104.16282
1.104.06131
1.104.06114
1.103.25610
1.103.15539
1.103.15418
1.103.05312
1.102.35058
1.102.24914
1.102.14746
1.102.04606
1.101.24242
1.101.14098
1.101.03933
1.100.33714
1.100.23258
1.100.13210
1.100.03093
1.99.32846
1.99.32704
1.99.32562
1.99.22418
1.99.12392
1.99.02289
1.99.02283
1.99.02277
1.98.2.25078
1.98.2.25077
1.98.2.25072
1.98.1.25070
1.98.0.25067
1.97.2.25045
1.97.1.25044
1.97.0.25037
1.96.4.25026
1.96.4.25017
1.96.3.25013
1.96.2.24355
1.96.1.24353
1.96.0.24352
1.96.0.24347
1.95.3.24321
1.95.3.24320
1.95.2.24313
1.95.1.24307
1.94.2.24286
1.94.2.24284
1.94.1.24283
1.94.0.24282
1.94.0.24281
1.93.1.24256
1.93.0.24253
1.92.2.24228
1.92.1.24225
1.91.1.24193
1.91.0.24190
1.90.2.24171
1.90.1.24165
1.90.0.24158
1.89.1.24130
1.89.0.24127
1.89.0.24126
1.88.1.24104
1.88.1.24102
1.88.0.24096
1.87.2.24072
1.87.1.24068
1.87.0.24060
1.86.2.24057
1.86.2.24054
1.86.2.24053
1.85.2.24019
1.85.1.23348
1.85.0.23343
1.84.2.23319
1.84.2.23317
1.84.2.23314
1.84.0.23306
1.84.1.23311
1.83.0.23283
1.83.1.23285
1.83.0.23277
1.82.3.23277
1.82.2.23257
1.82.0.23250
1.82.1.23255
1.81.1.23222
1.81.0.23216
1.80.1.23208
1.80.2.23209
1.81.0.23215
1.80.0.23188
1.80.1.23194
1.79.2.23166
1.79.1.23164
1.79.0.23159
1.78.1.23131
1.78.2.23132
1.78.1.23130
1.77.3.23102
1.77.1.23095
1.77.2.23101
1.77.0.23095
1.77.0.23093
1.77.0.23090
1.76.0.23062
1.76.1.23069
1.76.2.23074
1.75.1.23040
1.75.0.23033
1.74.3.23010
1.74.2.23007
1.74.0.22342
1.74.1.22349
1.74.2.22355
1.73.1.22314
1.73.0.22306
1.72.2.22289
1.72.2.22286
1.72.1.22284
1.72.0.22279
1.71.2.22258
1.71.1.22256
1.71.0.22245
1.70.2.22230
1.70.1.22229
1.70.1.22228
1.70.1
1.70.0
1.69.2
1.69.1
1.69.0
1.68.1
1.68.0
1.67.2
1.67.1
1.67.0
1.66.2
1.66.1
1.66.0
1.65.1
1.65.2
1.65.0
1.64.1
1.64.2
1.64.0
1.63.1
1.63.2
1.63.0
1.62.3
1.62.2
1.62.1
1.62.0
1.61.2
1.61.0
1.61.1
1.60.2
1.60.1
1.60.0
1.59.1
1.59.0
1.58.2
1.58.0
1.58.1
1.57.1
1.57.0
1.56.0
1.56.1
1.56.2
1.55.0
1.55.1
1.55.2
1.54.2
1.54.3
1.53.1
1.53.2
1.53.0
1.52.1
1.52.0
1.51.0
1.51.1
1.50.1
1.50.0
1.49.2
1.49.3
1.49.1
1.49.0
1.48.1
1.48.2
1.48.0
1.47.0
1.47.1
1.47.2
1.47.3
1.46.0
1.46.1
1.45.0
1.45.1
1.43.2
1.44.0
1.44.1
1.44.2
1.43.1
1.43.0
1.42.0
1.42.1
1.41.1
1.41.0
1.40.2
1.40.0
1.40.1
1.39.0
1.39.1
1.39.2
1.38.1
1.38.0
1.37.1
1.37.0
1.36.1
1.36.0
1.35.1
1.35.0
1.34.0
1.33.1
1.33.0
1.32.2
1.32.3
1.32.1
1.32.0
1.31.1
1.31.0
1.30.2
1.30.0
1.30.1
1.29.1
1.29.0
1.28.2
1.28.1
1.28.0
1.27.2
1.27.1
1.26.1
1.26.0
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VSCodium/vscodium#1250
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @penyuan on GitHub.
Describe the bug
VSCodium 1.45.0 cannot authenticate with Github.
Please confirm that this problem is VSCodium-specific
Please confirm that the issue/resolution isn't already documented
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Github web authentication to succeed without error.
Screenshots

Here is the Github error page:
Desktop (please complete the following information):
Additional context
This does not happen with Microsoft's build of Visual Studio Code.
@marcorichetta commented on GitHub:
Hi @penyuan.
I tried the solutions on the linked issue but none of them worked for me. Maybe it's related to Github's backend but I don't know really.
VSCodium
Version: 1.45.0
Commit: d69a79b73808559a91206d73d7717ff5f798f23c
OS: Linux x64 5.6.11-1-MANJARO
Extension info
Name: GitHub Pull Requests and Issues
Id: github.vscode-pull-request-github
Version: 0.16.0
@penyuan commented on GitHub:
That's too bad. Hopefully someone can chime in with a possible solution.
@penyuan commented on GitHub:
Thank you @marcorichetta! I've subscribed to the issue #1778 you linked to, looks like it is an ongoing issue.
How can we help fix it?
@h3adHunter commented on GitHub:
Hi, it's happening to me too, i updated today to 1.45.1, tried to push from Source control and have the same problem. If you choose to sign in using github clicking in Allow this takes you to your browser, where the problem is (I assume that's some github certificate with Visual Studio Code).
If you press Cancel instead of Allow, vscodium prompts you to enter your user and password and everything is ok.
A good workaround would be to set github source control plugin form vscodium to not request you to sign in using your browser and instead directly show the user/password prompts right there in vscodium.
If you know how to do it let me know hahaha
I'll be looking for it along the week
@marcorichetta commented on GitHub:
Related => https://github.com/microsoft/vscode-pull-request-github/issues/1778#issue-614883422
Also from the wiki of the Github PR Extension, although this issue is related with Github Auth.
@stripedpajamas commented on GitHub:
Yeah I'm able to reproduce this on my machine as well. Next step would be to see if a self-built "Code - OSS" has this same issue. Would be good to dig through the microsoft/vscode-pull-request-github code to figure out what it's expecting. I suspect the issue is on the https://vscode-auth.github.com side though, and I'm not sure where that code is (or if its open source at all).
@penyuan commented on GitHub:
This solution seems to work for me as a viable workaround, and I didn't even need to use the GitHub PR extension since I triggered it with the built-in git push function, thank you @marcorichetta!
Now, how can we get a more comprehensive fix?
@penyuan commented on GitHub:
Awesome, thank you! Can't wait to see the GIF. 😃
@marcorichetta commented on GitHub:
I "forced" the authentication via Github PR extension
Tested on 2 computers.
Manjaro
Version: 1.45.0
Commit: d69a79b73808559a91206d73d7717ff5f798f23c
OS: Linux x64 5.6.11-1-MANJARO
KDE Neon
Version: 1.45.1
OS: Linux x64 4.15.0-101-generic
Distro: KDE Neon 5.18.5
Extension info
Name: GitHub Pull Requests and Issues
Id: github.vscode-pull-request-github
Version: 0.16.0
Click Continue on the page asking to Authorize Visual Studio Code to access Github.
You should be redirected to another page where you actually give permission to VSCode for Github. Click on Authorize.
The first time I gave the permission, I got the 801 Error.
I repeated the process from steps 1 to 5 and after clicking continue on step 5 I got a success message.
vscode => vscodiumat the start of the token.⚠️ Take a look at the copied token because you may have to trim whitespaces on each end.
🎉
@marcorichetta commented on GitHub:
Hi.
I was able to authenticate with the steps from the linked issue on the GH PR extension.
Tomorrow I'll try to share a gif with the steps.
@vazra commented on GitHub:
@stripedpajamas I got this error with
VSCodium Version:
1.47.3GitHub Pull Requests and Issues Version :
v0.18.1MacOS
v10.14.6 (18G2022)the URL being redirected is
https://vscode-auth.github.com/authorize/?callbackUri=vscodium://vscode.github-authentication/did-authenticate%253FwindowId%253D1&scope=read:user%20repo%20user:email&state=xxxx&responseType=code&authServer=https://github.com
@codeconcept commented on GitHub:
What solved it for me (Codium on Windows 10) was to install the latest version of my git client from https://git-scm.com/
Now it works with git 2.27.0
@vazra commented on GitHub:
I tried this in Mac (ver. 2.27.0), didn't work for me.
@stripedpajamas commented on GitHub:
Is anyone still experiencing this in 1.47.x ?
@marcorichetta commented on GitHub:
@stripedpajamas Not on my pc right now but tomorrow I'll try and I'll comment here.
@voiduserid commented on GitHub:
Didn't worked for me,

After passing token at step 10, I got this error:
OS: Debian GNU/Linux 10 (buster) x86_64
Kernel: 4.9.212-antix.1-amd64-smp
VSCodium Version: 1.48.2
GitHub Pull Requests and Issues Version : v0.19.0
GitHub Authentication Version : v0.0.1
@Trevor-van-L commented on GitHub:
marcorichetta's workaround worked for me. Two notes:
@ldexterldesign commented on GitHub:
macOS, 10.15.6 (19G2021)
VSCodium, 1.48.1
Worked for me 🤷♂️
Will follow up after I've done a fresh macOS install to see if this is a quirk of my OS or a VSCodium bug, the latter being likely if so many others are experiencing the issue too
Stating the obvious but, this issue will be a quick turn off for new (VSCodium) users so hope it's top priority to fix
Hope this helps
Sincerely
@marcorichetta commented on GitHub:
@stripedpajamas I still get the same error as @vazra.
Information
Linux x64 4.15.0-112-generic
KDE Neon 5.18.5
VSCodium Version: 1.47.3
Extension
Version: 0.18.0
Name: GitHub Pull Requests and Issues
@Nek-12 commented on GitHub:
I have almost the same setup as @vazra except I'm on ArchLinux. Can't get past that message. Refreshing the page or trying again doesn't help.
I have found a workaround though, but I wouldn't advise using it for security reasons.
You can create a new access token in "Developer Settings" of your GitHub Profile. Since I don't know what permissions does Github PR need, I tried granting almost everything, and it worked. Granting only the access to repos and gists (what JetBrains IDEs require) doesn't work. Then just ignore the authorization page and paste your custom access token into the field in VSCode.
@Cipher0009 commented on GitHub:
If anyone is still facing issues with this, a solution which worked for me was just connecting my git via ssh. I found this article online if it might be of help to anyone
https://www.freecodecamp.org/news/git-ssh-how-to/
@pat-s commented on GitHub:
Faced this issue on macOS with vscodium v1.51
https://github.com/VSCodium/vscodium/issues/401#issuecomment-631502370 worked for me though I needed to be signed out of GitHub. The simplest way is to do it in a private browser window.
@eMPai-git commented on GitHub:
Faced this issue on Linux with vscodium v1.50.1
Same for me. Thanks for the workaround.
@daiyam commented on GitHub:
The solution of @marcorichetta is working.
But the GitHub authentication extension can accept a personal access token but only in a test environment.
I thinks it would be better to make a patch to make it work everywhere and just ask for a personal access token. There won't be any confusion.
What do you think?
@CITIZENDOT commented on GitHub:
My VSCodium version is 1.51.1. I did experience this and @marcorichetta answer worked fine for me.
@SkippTekk commented on GitHub:
Sadly enough i'm still getting this same issue, I'm on OpenSuse using VSCodium 1.52.1 and it's still failing to add my token even after changing the URL as stated above from VSCodium to VScode or what ever it was.
@NH3R717 commented on GitHub:
Switching:
https://vscode-auth.github.com/authorize/?callbackUri=vscodium://vscode.github-authentication...
to
https://vscode-auth.github.com/authorize/?callbackUri=vscode://vscode.github-authentication...
worked for me.
@GitMensch commented on GitHub:
@stripedpajamas Do you see any option to work around this in the code? If not: Are you fine with me adding an entry to DOCS.md about how to solve these and related issues and close this issue?
@simonsan commented on GitHub:
This is pure gold, thank you!
@stripedpajamas commented on GitHub:
I don't know of a way to make the work around in code cleanly, but PRs welcome. I agree with adding the DOCS entry and closing these up.
@stripedpajamas commented on GitHub:
@marcorichetta I haven't figured out what part of VSCode (or some built-in extension) is generating the link... if someone does find it, it seems plausible that we could patch it to produce a better link.
@madeddy commented on GitHub:
You need to go with the solution described here: login fail workaround At least for me did it work. A big thank you to the user @marcorichetta !
Having such a bug after nearly 9 months still open and possibly untouched, is in my book a confession of failure for the project. Guess i need soon a new editor.
@madeddy commented on GitHub:
Thanks for the pointers. Will see if needed in the end. Yes, i haven't given up hope it gets fixed soon enough.
Dang it! This sounded perhaps harder as intended or misleading. I think its not really possible to translate the word i had in mind (Armutszeugnis) to english. I meant to say its a sign/proof of shortcomings.
Edit: I found mentions on other projects related to vscode/ext. about the same issue. This seems browser related in some way. https://github.com/microsoft/vscode-pull-request-github/issues/1221
https://github.com/microsoft/vscode/issues/113163
Greets
@GitMensch commented on GitHub:
For myself the procedure worked fine with different versions of VSCodium by changing the URL before opening it in the browser and then on the way back changing it again.
Yes madeddy, if an integration of an external component is that important for you (no matter that it actually works with a workaround) this seems the case.
You may want to try Theia or, if you're always on in any case GitPod (that definitely has a good working GitHub integration), in both common vsix extensions work fine.
@marcorichetta commented on GitHub:
@SkippTekk Did you make sure there are no whitespaces in the copied token?
Thanks for the ping @madeddy 👍
I think it's a bit too much to say the project is a failure, but I understand that you may have other priorities like @GitMensch says.
@stripedpajamas I'm not familiar with the code but is there a way to "transform" the links so you don't have to do it manually? Or is this part of some Github extension code?
@tsilvs commented on GitHub:
Any rough estimate on when will this be fixed?
Or maybe there's something one could do on their own as a workaround? A config file modification perhaps?
This
is a valid one-time solution. But something better than doing it every time would be much more convenient and productive.
@daiyam commented on GitHub:
I've done a PR using the Personal Access Token (#672). It's easier to use.
@daiyam commented on GitHub:
@stripedpajamas It's
extensions/github-authentication/src/githubServer.ts.But to fix the issue, 2 urls need to be changed:
?callbackUri=vscodium://vscode.github-authentication/did-authenticate...->?callbackUri=vscode://vscode.github-authentication/did-authenticate...vscode://vscode.github-authentication/did-authenticate...->vscodium://vscode.github-authentication/did-authenticate...The first one can be changed in the extension whereas the second can't . It's being generated by the auth relay
vscode-auth.github.com.But that extension support Personal Access Token so it can be a good alternative.
@marcorichetta commented on GitHub:
I'm not sure I understand if the solution provided by @daiyam is possible or if we will continue to rely on the Github auth relay, which may change in the future.
At the moment our best bet is to create a new DOCS entry with the information gathered here.
@pat-s commented on GitHub:
Could someone lock this issue to prevent all these spam comments? (Feel free to delete this one here as well)
@illumincrotty commented on GitHub:
Couldn't get it to work on Firefox but switching to Chrome did the trick!
@GitMensch commented on GitHub:
That patch looks super cool (replaces the current GH access procedure by a popup asking for the GH-PAT to be entered once). I do wonder where the resulting token is stored (I guess that's possibly "wherever the token was stored before").
In any case: can someone that builds VSCodium test that and drop a note there? It looks like we can very soon finally close this issue!
@amsalimsema commented on GitHub:
Personally I was experiencing this issue after resetting my Windows. By default the authentication prompt opens edge, so I copied the browser URL and pasted it in chrome, vscode - github authentication was a success. Hope it works for anyone still having this issue.
@cerberus10 commented on GitHub:
this issue is still happening, I was able to use the manual token add as a workaround but cant publish to github only initialize a git repository, all of this in the lastest version dor Ubuntu 20.04 .
@daiyam commented on GitHub:
@GitMensch On macOS, it's stored in the keychain.
@daiyam commented on GitHub:
@Yazir I've just released an extension to sync the settings/resources into a local folder or a remote git.
You can find it here on OpenVSX or on VSMarketplace.
More features will come...
@rugk commented on GitHub:
The guide form https://github.com/VSCodium/vscodium/issues/401#issuecomment-631502370 is awesome, however for all Linux users looking for how to start VsCodium with that parameter given there I inspected the
.desktopfile and then you can build yourself such a command line:The rest of the instructions stay the same.
@Yazir commented on GitHub:
@marcorichetta provided a good solution to the problem, but I was dissapointed to see that settings sync (feature that I wanted the github auth in the first place) is unavailable. Albeit not VSCodium's fault.
https://github.com/microsoft/vscode/issues/105310#issuecomment-693262654
Note to anyone still wanting to sign in:
OS: Windows 10
Authentication wouldn't work on Firefox, worked on Chrome though
@GGORG0 commented on GitHub:
For me, it didn't ask if i wanted to copy the url, it just opened it. Every time i was getting error 801, but after remembering that firefox has offline mode, i enabled it, opened the sign in url, changed it and then disabled offline mode so that it could actually load the page. And it worked!
@daiyam commented on GitHub:
I need more people to upvote #672 so it can move forward. Beta-testers are welcome.
@daiyam commented on GitHub:
Since 1.60, VSCodium is using Personal Access Token to sign in.