Git: Support GitHub 2FA
See original GitHub issue- VSCode Version: 1.9.1
- OS Version: Ubuntu 14.04, 16.04
Steps to Reproduce:
- Make changes to a GitHub repo with two-factor authentication enabled
- Push/Sync changes.
Error: Authentication failed on the git remote.
A dialog box appears to enter your git username/password, but there is no subsequent dialog for the two-factor authentication code, and so the process just fails.
The https
protocol was used for the git clone
on this repo.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Securing your account with two-factor authentication (2FA)
You can set up your account on GitHub.com to require an authentication code in addition to your password when you sign in. About...
Read more >Configuring two-factor authentication - GitHub Docs
Configuring two-factor authentication using text messages · In the upper-right corner of any page, click your profile photo, then click Settings. · In...
Read more >Accessing GitHub using two-factor authentication
With two-factor authentication enabled, you'll need to provide an authentication code when accessing GitHub through your browser. If you access GitHub using ...
Read more >About two-factor authentication - GitHub Docs
Two-factor authentication (2FA) is an extra layer of security used when logging into websites or apps. With 2FA, you have to log in...
Read more >Requiring two-factor authentication in your organization
Requiring two-factor authentication in your organization ... In the top right corner of GitHub.com, click your profile photo, then click Your organizations.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can create a personal access token following the instructions here: https://help.github.com/articles/creating-an-access-token-for-command-line-use/
Then you simply use that token as the password.
Thanks, that’s a good workaround.
Still, it seems like from a UX perspective it would be nice to support at some point.