-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Prompted for 2FA code, yet get error "Must specify two-factor authentication OTP code" #104
Comments
I can reproduce the issue but it will likely be weeks until I can investigate this. So you should probably create the token manually, as documented in the manual. |
@tarsius Thank you for your response. I will give the manual approach a shot. |
@tarsius I did not have GPG set up either. I got that set up and used that to put an encrypted key in |
I also am experiencing this error setting up forge. Manually adding in '~/.authinfo' doesn't seem to fix it for me. From some debugging it looks like it's being picked up though.
Hopefully this will help your investigation! |
@Kazark Thanks 😁 |
FWIW same problem here, but manual token creation worked. |
Was able to resolve it by adding a token to the
where |
I wouldn't say that you "resolved" it, more that you "worked around" it. I did the same. but it would be cool to have this working like before 😍 |
Github will stop supporting password authentication as whole in a few months. Because of that I don't plan to fix two-factor authentication--it would buy as a few months at best. Instead I intend to remove the wizard completely. For more information see #113. |
Done. |
Thank you for your great work on the Magit ecosystem.
I am trying to get up and running with opening pull requests from within Spacemacs. My
auth-sources
is set to("~/.authinfo.gpg" "~/.authinfo" "~/.netrc")
. Having entered my username, my GitHub password, and then the 2FA code---which I was not only prompted for, but received---I get the following error, and am unable to complete:I tried this twice (thus with two separate 2FA codes) to make sure I did not enter the 2FA code incorrectly.
Let me know what else I can do to debug this issue or whatever other information I can provide.
The text was updated successfully, but these errors were encountered: