spotify / web-api-examples

Basic examples to authenticate and fetch data using the Spotify Web API
Apache License 2.0
1.99k stars 1.67k forks source link

authentication_code example throwing mismatch error #47

Open Leerium opened 4 years ago

Leerium commented 4 years ago

Hi there, I've recently decided to start tinkering with the spotify api to see just what i can do with it. However I can't seem to get past the authentication phase...(T_T). Through some searching I've found that the redirect_uri is the most common fault. and through reading the code, it would seem the message is only thrown when the state and the storedstate aren't equivalent, or if the state is null. Now I've combed through the possible typo's of the redirect_uri, on both the app.js code file and the spotify dashboard for whitelisting the uri address, however none of them are working. Is anyone else experiencing this issue still? I don't know if it matters but im running this on linux 18.04.4 LTS (Bionic Beaver) screen screen2

Leerium commented 4 years ago

curl also shows that it is being redirected to the mismatch error url

mmyatt91 commented 3 years ago

Hello @Leerium, I am encountering the same issue when trying to go through the authorization code example, and coding it on my own in a separate file. Did you ever find a solution to the issue?