Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Auth failure when using Github 2-factor Authentication #58

Open
johnschult opened this issue Sep 10, 2013 · 4 comments
Open

Auth failure when using Github 2-factor Authentication #58

johnschult opened this issue Sep 10, 2013 · 4 comments

Comments

@johnschult
Copy link

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
Copy link

mheap commented Sep 10, 2013

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
Copy link
Author

Ah yeah, I had not realized that the remote was using the https protocol :(

@mheap
Copy link

mheap commented Sep 11, 2013

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
Copy link

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants