Git Product home page Git Product logo

Comments (10)

achempion avatar achempion commented on July 17, 2024 4

Was able to resolve it by adding a token to the ~/.authinfo

machine api.github.com login <login>^<package> password <token>

where <package> in my case was forge.

manual link

from ghub.

pvinis avatar pvinis commented on July 17, 2024 2

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 😍

from ghub.

tarsius avatar tarsius commented on July 17, 2024 2

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.

from ghub.

tarsius avatar tarsius commented on July 17, 2024

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.

from ghub.

Kazark avatar Kazark commented on July 17, 2024

@tarsius Thank you for your response. I will give the manual approach a shot.

from ghub.

Kazark avatar Kazark commented on July 17, 2024

@tarsius I did not have GPG set up either. I got that set up and used that to put an encrypted key in ~/.authinfo.gpg. It worked! And, I am absolutely blown away. I was looking for something simple and basic, but now I can actual browse PRs complete with discussion and emojis and everything mind blown. I did have to authorize an SSO organization myself, too; I don't know if the code would have done that for me (if the above had worked). Anyway, thanks again. I'll leave the issue open sine you said you can reproduce, but for my purposes, I am in the clear at this point.

from ghub.

dalton-verkada avatar dalton-verkada commented on July 17, 2024

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.

auth-source-search: found 3 backends matching (:host "api.github.com" :user "dalton-verkada^forge" :max 1)
auth-source-search-backend: got 1 (max 1) in netrc:~/.authinfo matching (:host "api.github.com" :user "dalton-verkada^forge" :max 1)
auth-source-search: found 1 results (max 1) matching (:host "api.github.com" :user "dalton-verkada^forge" :max 1)

Hopefully this will help your investigation!

from ghub.

tarsius avatar tarsius commented on July 17, 2024

@Kazark Thanks 😁

from ghub.

Blaisorblade avatar Blaisorblade commented on July 17, 2024

FWIW same problem here, but manual token creation worked.

from ghub.

tarsius avatar tarsius commented on July 17, 2024

Instead I intend to remove the wizard completely.

Done.

from ghub.

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.