{"action":"closed","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1612","repository_url":"https://api.github.com/repos/jspm/jspm-cli","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1612/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1612/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1612/events","html_url":"https://github.com/jspm/jspm-cli/issues/1612","id":140759549,"number":1612,"title":"improve github token test","user":{"login":"eroux","id":60868,"avatar_url":"https://avatars.githubusercontent.com/u/60868?v=3","gravatar_id":"","url":"https://api.github.com/users/eroux","html_url":"https://github.com/eroux","followers_url":"https://api.github.com/users/eroux/followers","following_url":"https://api.github.com/users/eroux/following{/other_user}","gists_url":"https://api.github.com/users/eroux/gists{/gist_id}","starred_url":"https://api.github.com/users/eroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eroux/subscriptions","organizations_url":"https://api.github.com/users/eroux/orgs","repos_url":"https://api.github.com/users/eroux/repos","events_url":"https://api.github.com/users/eroux/events{/privacy}","received_events_url":"https://api.github.com/users/eroux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T18:31:40Z","updated_at":"2016-03-15T14:25:49Z","closed_at":"2016-03-15T14:25:48Z","body":"the test part of `jspm registry config github` seems to test only if the token is valid, but not if it has the right to access public repositories, so it reports the token to be ok while it's not. I've spent quite some time debugging before realizing the token I gave it didn't have the proper access, so would it be possible to check the token properly in the config command?"}}