Comments (10)
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
.
from ghub.
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.
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.
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.
@tarsius Thank you for your response. I will give the manual approach a shot.
from ghub.
@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.
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.
@Kazark Thanks 😁
from ghub.
FWIW same problem here, but manual token creation worked.
from ghub.
Instead I intend to remove the wizard completely.
Done.
from ghub.
Related Issues (20)
- Allow local username configuration HOT 2
- cannot obtain token while 2FA is enabled in Github HOT 1
- Problems using manual token HOT 1
- [FEATURE REQUEST] kanban boards into emacs? HOT 1
- Importance of username case for API authinfo retrieval HOT 5
- The token wizard will break in November HOT 11
- Search for ghub credentials is for the wrong user HOT 1
- cannot use `ghub-continue` to retrieve multiple pages HOT 1
- Documentation typo in section "2.2.4 Setting your Username for Other Hosts and/or Forges"
- error in process filter: BUG: missing headers HOT 4
- Always asking for username and token when using authinfo.gpg with 2-way authentication HOT 33
- 28.0.50: (wrong-type-argument stringp nil) when trying to set github.user HOT 1
- Dead link to Gitlab Tokens in documentation HOT 1
- Unable to use regenerated GitHub token HOT 3
- Unable to download issues from Gitlab HOT 2
- No longer builds with `package-build` from master HOT 2
- Does treepy go up to 0.1.2? HOT 2
- ghub--token: Required Github token does not exist HOT 2
- Error in ghub-get HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghub.