{"action":"opened","issue":{"url":"https://api.github.com/repos/vdesabou/alfred-spotify-mini-player/issues/41","labels_url":"https://api.github.com/repos/vdesabou/alfred-spotify-mini-player/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/vdesabou/alfred-spotify-mini-player/issues/41/comments","events_url":"https://api.github.com/repos/vdesabou/alfred-spotify-mini-player/issues/41/events","html_url":"https://github.com/vdesabou/alfred-spotify-mini-player/issues/41","id":55778173,"number":41,"title":"Authentication not working?","user":{"login":"mikl","id":10263,"avatar_url":"https://avatars.githubusercontent.com/u/10263?v=3","gravatar_id":"","url":"https://api.github.com/users/mikl","html_url":"https://github.com/mikl","followers_url":"https://api.github.com/users/mikl/followers","following_url":"https://api.github.com/users/mikl/following{/other_user}","gists_url":"https://api.github.com/users/mikl/gists{/gist_id}","starred_url":"https://api.github.com/users/mikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikl/subscriptions","organizations_url":"https://api.github.com/users/mikl/orgs","repos_url":"https://api.github.com/users/mikl/repos","events_url":"https://api.github.com/users/mikl/events{/privacy}","received_events_url":"https://api.github.com/users/mikl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-28T16:23:04Z","updated_at":"2015-01-28T16:23:04Z","closed_at":null,"body":"I've tried to set this workflow up on two different machines now, but with little luck. After entering the requested Client ID and Client Secret, I select authenticate, and my browser opens this URL:\r\n\r\n`https://accounts.spotify.com/en/login?continue=https:%2F%2Faccounts.spotify.com%2Fen%2Fauthorize%3Fclient_id%3Dlalalalalla%26redirect_uri%3Dhttp:%252F%252Flocalhost:15298%252Fcallback.php%26response_type%3Dcode%26scope%3Duser-library-read%2520user-read-email%2520user-read-private%2520user-library-modify%2520user-follow-modify%2520user-follow-read%2520playlist-read-private%2520playlist-modify-public%2520playlist-modify-private%26show_dialog%3Dtrue%26state%3D`\r\n\r\nThis is a login form, but when I try to fill it out and submit, nothing seems to happen. If I look in the developer tools, there's a POST request to log in (that suceeds), and then a GET request to load JSON from this URL:\r\n\r\n`https://accounts.spotify.com/en/authorize?client_id=lalalalalla&redirect_uri=http:%2F%2Flocalhost:15298%2Fcallback.php&response_type=code&scope=user-library-read%20user-read-email%20user-read-private%20user-library-modify%20user-follow-modify%20user-follow-read%20playlist-read-private%20playlist-modify-public%20playlist-modify-private&show_dialog=true&state=`\r\n\r\nThat, however, fails, and gets a “400 Bad Request” response, with the body “INVALID_CLIENT: Invalid redirect URI”. It seems Spotify does not like your attempt to redirect to localhost.\r\n\r\nI've tried with multiple browsers, but the result seems to be the same, here's how it looks in Firefox:\r\n\r\n![screen shot 2015-01-28 at 17 11 20](https://cloud.githubusercontent.com/assets/10263/5941579/372f3088-a712-11e4-85b0-7e4069ed3cab.png)\r\n![screen shot 2015-01-28 at 17 11 26](https://cloud.githubusercontent.com/assets/10263/5941578/372ee56a-a712-11e4-9ee2-b6d3962e0611.png)\r\n"}}