Closed RHeijnen closed 7 years ago
problem:
var spotifyApi = new SpotifyWebApi({
clientId : 'x',
clientSecret : 'x', <---Pretty sure this is missing in the tutorial
redirectUri : 'http://localhost:8888/callback'
});
oh well, I can sleep happy.
Sorry if this is a duplicate issue,
Working from the examples and tutorials, I used the Authorization code flow pattern like so;
Ive been useing express to catch my authentication code when a 'user' clicks on the authentication URL like so:
that trows the authentication code into..
Console output:
Something went wrong authorizationCodeGrant! { [WebapiError: Bad Request] name: 'WebapiError', message: 'Bad Request', statusCode: 400 }
An example of the URI token/authentication code (is there a difference?) that is returned looks like this
This seems a lot larger than others that I've been seeing snooping around, so I suppose this is where my problem lies?
Any ideas would be greatly appreciated, sincerly.