Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to authenticate with GitHub #529

Closed
andyvanosdale opened this issue Aug 1, 2017 · 1 comment
Closed

Unable to authenticate with GitHub #529

andyvanosdale opened this issue Aug 1, 2017 · 1 comment

Comments

@andyvanosdale
Copy link

andyvanosdale commented Aug 1, 2017

Hello,

I've installed the CLI v1.8.8, and when I attempt to authenticate either with a personal access token (using the permissions defined for both private and public here: https://docs.travis-ci.com/user/github-oauth-scopes/), it will give me the following error:
enozero has not granted Travis CI the required permissions, please log in via travis-ci.org

This is the debug output from running login with --debug:

travis login --debug --github-token <hidden>
** Loading "/Users/andyv/.travis/config.yml"
** Loading gh
** GET "config"
**   took 0.12 seconds
** GitHub API: GET /user?per_page=100
**   took 0.15 seconds
** POST "auth/github" {:github_token=>"<hidden>"}
**   took 0.21 seconds
** GET "users/"
**   took 0.18 seconds

This is my config.yml:

---
checked_completion: true
completion_version: 1.8.8

Scopes defined for the personal access token:
screen shot 2017-08-01 at 12 16 59 pm

Any ideas what I might be doing wrong?

Thanks!
Andy

@andyvanosdale
Copy link
Author

Ah... looks like I need to add --pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants