-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two Factor Auth Not Sending Text Message #206
Comments
@jgable Thanks for pointing that out. Yeah, this problem is solved in the Please note that moving forward |
You create a token for your app (kind of like google's app-specific passwords) as outlined here. Generate yourself a token and use that instead of a password when logging in. |
I have pulled in the fixes from hub. |
Please try to compile |
When using the
gh create
command to create a repo I am prompted for my username, then password, then a OTP code as expected but there is never a text message sent.I raised the issue with Github support and got this response from @pengwynn:
I took a look at the code and it looks like what is happening is that the initial request for Authorizations is a GET request (the go-octokit authorizations.all() method is a GET), but does match a 2 factor error check so another POST or PUT request is never made to the Authorizations API.
So, it looks like something needs to make a subsequent PUT or POST request to the Authorizations API when a 2 factor error is detected.
The text was updated successfully, but these errors were encountered: