{"action":"created","issue":{"url":"https://api.github.com/repos/l3d00m/spotispy/issues/2","repository_url":"https://api.github.com/repos/l3d00m/spotispy","labels_url":"https://api.github.com/repos/l3d00m/spotispy/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/l3d00m/spotispy/issues/2/comments","events_url":"https://api.github.com/repos/l3d00m/spotispy/issues/2/events","html_url":"https://github.com/l3d00m/spotispy/issues/2","id":341261522,"node_id":"MDU6SXNzdWUzNDEyNjE1MjI=","number":2,"title":"Refresh Code generation website doesn't use correct scopes","user":{"login":"MercyDoesCode","id":23317944,"node_id":"MDQ6VXNlcjIzMzE3OTQ0","avatar_url":"https://avatars2.githubusercontent.com/u/23317944?v=4","gravatar_id":"","url":"https://api.github.com/users/MercyDoesCode","html_url":"https://github.com/MercyDoesCode","followers_url":"https://api.github.com/users/MercyDoesCode/followers","following_url":"https://api.github.com/users/MercyDoesCode/following{/other_user}","gists_url":"https://api.github.com/users/MercyDoesCode/gists{/gist_id}","starred_url":"https://api.github.com/users/MercyDoesCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MercyDoesCode/subscriptions","organizations_url":"https://api.github.com/users/MercyDoesCode/orgs","repos_url":"https://api.github.com/users/MercyDoesCode/repos","events_url":"https://api.github.com/users/MercyDoesCode/events{/privacy}","received_events_url":"https://api.github.com/users/MercyDoesCode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-14T19:31:46Z","updated_at":"2018-07-14T20:56:17Z","closed_at":null,"author_association":"NONE","body":"You have to add \"%20user-read-currently-playing%20user-read-playback-state\" to the scopes in the URL of the Spotify login page you are redirected to in order for the correct access token to be generated.\r\n\r\nEG:\r\nhttps://accounts.spotify.com/en/authorize?client_id=XXX&response_type=code&redirect_uri=https:%2F%2Fgrant.outofindex.com%2Fconnect%2Fspotify%2Fcallback&scope=streaming%20user-read-currently-playing%20user-read-playback-state&show_dialog=true"},"comment":{"url":"https://api.github.com/repos/l3d00m/spotispy/issues/comments/405049306","html_url":"https://github.com/l3d00m/spotispy/issues/2#issuecomment-405049306","issue_url":"https://api.github.com/repos/l3d00m/spotispy/issues/2","id":405049306,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTA0OTMwNg==","user":{"login":"l3d00m","id":12055376,"node_id":"MDQ6VXNlcjEyMDU1Mzc2","avatar_url":"https://avatars0.githubusercontent.com/u/12055376?v=4","gravatar_id":"","url":"https://api.github.com/users/l3d00m","html_url":"https://github.com/l3d00m","followers_url":"https://api.github.com/users/l3d00m/followers","following_url":"https://api.github.com/users/l3d00m/following{/other_user}","gists_url":"https://api.github.com/users/l3d00m/gists{/gist_id}","starred_url":"https://api.github.com/users/l3d00m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l3d00m/subscriptions","organizations_url":"https://api.github.com/users/l3d00m/orgs","repos_url":"https://api.github.com/users/l3d00m/repos","events_url":"https://api.github.com/users/l3d00m/events{/privacy}","received_events_url":"https://api.github.com/users/l3d00m/received_events","type":"User","site_admin":false},"created_at":"2018-07-14T20:56:17Z","updated_at":"2018-07-14T20:56:17Z","author_association":"OWNER","body":"I'm wondering how I managed to create a refresh token without adding that, pretty sure I used that site too. Anyways, I'll add a link to this issue in the readme"}}
{"actor":{"display_login":"l3d00m"}}