sigma / magit-gh-pulls

Magit plugin for dealing with GitHub pull requests
254 stars 48 forks source link

Promts for user and password. #111

Open clearmisp opened 6 years ago

clearmisp commented 6 years ago

All of a sudden magit-gh-pulls have started to prompt for user and password when magit-gh-pulls-popup is executed. It didn't do this before. And when I enter correct GitHub user and password I only get an error message saying that the credentials where invalid. How can I fix this?

siegy22 commented 6 years ago

Same issue here 😓

eklitzke commented 6 years ago

I think this is maybe related to #109

jypma commented 6 years ago

I worked around this my manually configuring my github oauth token (and making sure that the oauth token has enough credentials for the repository being accessed):

git config --global --add github.user <user>
git config --global --add github.password <token>
git config --global --add github.oauth-token <token>

After restarting emacs, magit was able to read pull requests.

eigenhombre commented 6 years ago

@jypma 's suggestion worked for me and would be a nice addition to the README until / unless the underlying issue(s) get fixed.