Closed lakenen closed 8 years ago
The two-factor auth code isn't sent in the headers the first time around. Can you past the trace of what happens after you enter your auth code?
I never get an auth code...
We authenticate with Github by creating a personalized access token for your account to use with git-reflow on the machine you're using to set it up with. In order to do this with two-factor authentication, Github will tell us when we try to create your personal access token (via response headers) that your account requires a two-factor authentication code in order for us to continue. If you see the last line of the backtrace you posted, we ask you for this code. You get this code from either an app (like Google Authenticator), via text message, etc., depending on how you've set up two-factor authentication on Github.
Let me know how else I can help.
Sorry, I wasn't clear. I have github setup to send me a SMS message. It never gets sent.
@lakenen can you try to build from source using the current pre-release for 0.8.0
?
gem uninstall git_reflow
git clone https://github.com/reenhanced/gitreflow.git && cd gitreflow
git checkout vs-cleanup-new-gh-merge
bundle
bundle exec rake install
Apparently Github won't trigger the SMS for GET requests, so the recommended "fix" is to just send a dummy POST.
Ok, I did all that, and it's the same problem. I never get a message from GH.
@lakenen I have fixed and confirmed this works now from that same branch. We are reviewing final changes today for 0.8.0
and should have a release out by tomorrow.
If you want to take advantage of this before the release, from the directory you cloned gitreflow to run:
gem uninstall git_reflow
git pull origin vs-cleanup-new-gh-merge
bundle exec rake install
The two-factor code is never sent. Here's the output: