interviewstreet / ghs

Cross-platform CLI tool to generate your Github profile's stats and summary.
137 stars 89 forks source link

bug: change in scope in github pat #4

Closed jaiakash closed 2 years ago

jaiakash commented 2 years ago

Screenshot from 2022-04-06 16-37-58 The program asks for read:user , repo and read:packages scope for github pat. But GitHub has changed the structure of scopes. There is no read:user and read:packages scope. Github scopes (new) : https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-app

jaiakash commented 2 years ago

The scope which i can see right now. Screenshot from 2022-04-06 16-38-08

Apoorve73 commented 2 years ago

Hey @jaiakash ! The scopes you are referring to are for the o-auth tokens. Here we have to create a personal-access-token for which the scopes have all the properties asked for in README. Create one here: https://github.com/settings/tokens

Screenshot 2022-04-06 at 5 00 25 PM

jaiakash commented 2 years ago

Thnx, my bad i tried with oauth instead of pat.