passport-spotify icon indicating copy to clipboard operation
passport-spotify copied to clipboard

Scope code location moved

Open ivycheung opened this issue 6 years ago • 2 comments

Based on the example on the README and the sample code, the scope information is sent through passport.authenticate. After spending a long time trying to figure out why I can't get user top tracks back, it turns out I didn't get the correct scope upon authentication.

I looked into the facebook implementation, it turns out you put the scope information in the new SpotifyStrategy code block instead.

Not sure when this changed but I want to raise a request to make sure this is the case other people are also wondering why their requests are getting 403 error codes back.

(Also I'm not sure if the showDialog: true works anymore.)

Cheers.

ivycheung avatar Jan 16 '19 19:01 ivycheung

@ivycheung Thank you!

nessup avatar May 06 '19 04:05 nessup

Hello,

I also think the showDialog: true is not working. Is there a solution?

soniameller avatar Jul 09 '19 13:07 soniameller