Unable to authorize with my GitHub password (Unathorized/Not Found) #2655
Comments
|
I had the same issue. I went to the github tokens link provided and made a token, and now it works. |
|
I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token. Until we fix this in hub, the solution is to generate a Personal Access Token (with at least |
Oh okay, I will try usng Personal Access Token then. |
|
Hello, I uninstalled hub gem and did the update wit Homebrew |
This didn't fix it for me. Error stays the same. I will try to find a fix. |
You have NO idea how much I searched the internet to find this solution! THANK YOU! |
Thanks @mislav. That worked for me! |
This information should be in the readme, and not in an issue. |
|
Why was this issue closed? This seems like a pretty major issue. |
|
True— it's not solved yet, so I'm reopening. |
|
@mislav Can we change the intimation message until this is fixed? Something like |
Recently, I performed a cherry pick for the first time. When I ran ./hack/cherry_pick_pull.sh after setting up all the env variables, I was asked for my github password. When I gave my actual github password it threw a 404 not found which confused me. I then came across this github/hub#2655 (comment) . I created a github token post which I was able to cherry pick successfully. The hub project team is looking to fix it but until then I feel that we should document it. Do let me know if I did something wrong here in the cherry pick process.
I already put an alias for hub on my
.bashrc
alias git=hubBut when I want to create a repos my credentials always failed
Command attempted:
git create jam_hub
github.com username: sekti92
github.com password for sekti92 (never stored):
What happened:
Error creating repository: Unauthorized (HTTP 401)
Bad credentials. The API can't be accessed using username/password authentication. Please create a personal access token to access this endpoint: http://github.com/settings/tokens
More info:
git version 2.29.1.windows.1
hub version 2.14.2
The text was updated successfully, but these errors were encountered: