Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Visual Studio crashes trying to login to a 2FA-enabled account #837
GitHub Extension for Visual Studio version: 188.8.131.52
When I try to login to my 2FA-enabled account, Visual Studio locks up and crashes. If I disable 2FA on my Github account, I can login and publish repo's as you would expect. When it crashes it does not generate any extension logs in either %LocalAppData%\GitHubVisualStudio\extension.log or %LocalAppData%\Temp\extension.log.
This bug first happened on my old install of Windows 10. I then re-installed Windows 10 (for unrelated reasons) and this bug repros with a brand new Windows 10 installation with a brand new copy of Visual Studio Community Edition.
My repro steps:
Here's the step's I'm using to add the project to my account.
Note that if I look in my Github security logs online I can see the 2FA login attempt:
but nothing happens on the PC-side, Visual Studio just crashes and restarts.
Note that I'm using Win10 V 15025.rs_prerelease.170127-1750 (this is the most recent insider flight) on brand new copies of Windows, and this reproduces on two separate machines (a custom built Desktop PC and a Surface Book).