Coder Social home page Coder Social logo

Comments (7)

brandoncc avatar brandoncc commented on June 21, 2024 1

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.

from gist.el.

arthurnn avatar arthurnn commented on June 21, 2024

same issue in here =(

from gist.el.

arthurnn avatar arthurnn commented on June 21, 2024

So I was able to fix this locally, however not sure if is the best way to do this, anyways, as gist.el uses gh.el which persist the credentials as git --global config, we can just set them manually and everything should work, like this:
Make sure to unset them, just in case.

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.

from gist.el.

supernullset avatar supernullset commented on June 21, 2024

Also broken here, but @arthurnn's fix did not work for me. I am now getting the error Invalid number format: 2 when I attempt a gist-list

from gist.el.

dylan-conlin avatar dylan-conlin commented on June 21, 2024

@arthurnn's fix worked for me. Thanks!

from gist.el.

sigma avatar sigma commented on June 21, 2024

I introduced 2-factor support in gh.el 0.9.0, so it should now be ok without any additional hacks.
Please reopen if that's not the case

from gist.el.

supernullset avatar supernullset commented on June 21, 2024

Thanks @sigma!

from gist.el.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.