- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 106
 
Description
Describe the bug
I kept having issues providing my GitHub credentials even though I knew my username and password were correct. Then, it dawned on me that I should try to login via the web interface to see what happened. I forgot that I had 2FA set up. Once I disabled 2FA, I didn't have any issues.
I didn't go back to fully check that 2FA is always an issue, but right after I disabled it, my import process went smoothly.
As far as resolving this (if it is an issue), I think adding a note to the documentation makes sense.
To Reproduce
Steps to reproduce the behavior:
- Enable 2FA on your GitHub account.
 - Try to run the npx command.
 - See an authentication failure after entering the URL of the GitHub repository.
 
Screenshots
Solution
If you use 2FA, you need to give a token instead of your password, that's just how GitHub works: https://help.github.com/en/articles/accessing-github-using-two-factor-authentication#using-two-factor-authentication-with-the-command-line
