You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSCode on Mac cannot login to GitHub with 2FA on #46964
Activity
vscodebot commentedon Mar 29, 2018
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
roblourens commentedon Apr 1, 2018
I believe this is a duplicate of #490, (given that #43257 is))
shaipetel commentedon Apr 9, 2018
roblourens No its not a duplicate. The issue is the same but like I said - this one is specifically for Mac OS.
Why is that significant? Because all the workarounds on the other 2 issues are for windows only.
Since they discuss and accept workarounds for windows, and these have nothing to do with Mac OS - I think there should be a separate issue for Mac OS.
So, you may want to link the issues together but I don't think this is a duplicate since the solution needed or workaround should be different.
shaipetel commentedon Apr 9, 2018
FYI, found workaround that works for MacOS in VSCode as well as git command line:
Visit your "developer settings" in github and generate a "personal access token".
You can use that token with your username as the password in VSCode and that seems to work.
joaomoreno commentedon Apr 10, 2018
Yeah you can use a personal access token or, even better, SSH keys for GitHub auth. That's what I do.
shaipetel commentedon Apr 10, 2018
Great, thanks. I wonder why this info wan't easy to find at first - ppl just saying its unusable in VSCode on a Mac.
got it though so no problem