mislav / hub

A command-line tool that makes git easier to use with GitHub.

Home Page:https://hub.github.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

403 when using fine-grained token

adam-mrozik opened this issue · comments

Hey!

Tool was working great for me, but I am getting 403 when using fine-grained tokens. Are the supported?

@adam-mrozik hub just uses the GitHub API. Any token that works with the GitHub API should be supported.

Try your token with curl -H "Authorization: token $GH_TOKEN" https://api.github.com and see if that works. If you cannot access any API resources that the token should be able to access, then the 403s are a problem with the token itself.