-
Notifications
You must be signed in to change notification settings - Fork 90
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 breaks everything (?) #51
Comments
same issue in here =( |
So I was able to fix this locally, however not sure if is the best way to do this, anyways, as git config --global --unset github.user
git config --global --unset github.password
git config --global --unset github.oauth-token Set them git config --global --add github.user your_user_name
git config --global --add github.password your_token
git config --global --add github.oauth-token same_token_as_password To generate the token, just go to https://github.com/settings/tokens/new I hope this helps. |
Also broken here, but @arthurnn's fix did not work for me. I am now getting the error |
@arthurnn's fix worked for me. Thanks! |
I introduced 2-factor support in gh.el 0.9.0, so it should now be ok without any additional hacks. |
Thanks @sigma! |
Is there any known problem with Emacs 24.5.1 on OSX? I can't get the login to work. I enter a a token as my password and oauth token and it gives me errors such as the JSON readtable error and one about api v3 something. I had it working previously, then I cleared out my elpa dir while trying to get cider working and now I can't login to gh anymore. I do have 2fa enabled, but I also tried with it disabled to no avail. |
I had two-factor auth on after installing gist.el via packages. After it prompted me for my GitHub password it would prompt again for just "Password" and only gave "JSON readtable error" even if I used my auth code.
Turning off two-factor auth allows me to login fine with only the initial GitHub password prompt.
The text was updated successfully, but these errors were encountered: