Auth failure when using Github 2-factor Authentication
johnschult opened this issue · 4 comments
johnschult commented
If you do a git hf init
and the Github account you are using is utilizing 2-Factor Authentication it fails with:
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/Worthpoint/cookbooks.git/'
mheap commented
This works fine when you're working with the repo over SSH. We'll take a look at how it works with HTTP auth
johnschult commented
Ah yeah, I had not realized that the remote was using the https protocol :(
mheap commented
Just tested and it's working fine for me with a fresh clone of a HTTPS repository. I had to create an access token (see here for the docs) but it worked fine for me
hussfelt commented
I created an access token, but the command git hf feature submit settings
$ git hf feature submit settings
Fetching origin
GitHub Username: hussfelt
GitHub Password: Failed to authorize GitHub user 'hussfelt' for '***/***'
Failed to create Pull Request
So, neither access token nor password works here... Everything else works...