valeriobelli/gh-milestone

Milestone Commands return with Bad Credentials

ndrone-kr opened this issue ยท 6 comments

Description
When doing an edit or create. I get a return of bad credentials.

Current behavior
When doing an edit or create. I get a return of bad credentials.

Expected behavior
I expect them to create or edit like I can in the UI

Environment:

  • OS: MAC 10.12.4

Additional information
I'm able to edit and create in the UI.

Hey @ndrone-kr, thanks for having reported this problem and sorry for the delayed answer. GitHub hasn't notified me.

Sadly, I can't reproduce.

Before going forward with some other debugging, may you try checking your authentication status by running gh auth status? It would be awesome. ๐Ÿ˜„

Is there any chance your instance is relying only on gh authentication system? I'm saying so because this extension needs GITHUB_TOKEN to do some authenticated calls to GitHub APIs.

here is the result from the gh auth status

 ยป gh auth status 
github.com
  โœ“ Logged in to github.com as ndrone-kr (/Users/ndrone-kr/.config/gh/hosts.yml)
  โœ“ Git operations for github.com configured to use https protocol.
  โœ“ Token: *******************

yes I'm relying on gh to handle all the authentication

I released a new version yesterday without opening a Pull Request, sorry ๐Ÿ˜…
Now, this extension relies on gh to authenticate the current user if environment variables don't include GITHUB_TOKEN.

Could you give it a shot now?

This now works with the latest release 0.5.1

Thanks for the fix!

You're welcome!