JMPerez / spotify-web-api-js

A client-side JS wrapper for the Spotify Web API
https://jmperezperez.com/spotify-web-api-js/
MIT License
1.87k stars 265 forks source link

Is there any support for OAuth? #55

Closed simonghales closed 7 years ago

simonghales commented 7 years ago

Hey there, thanks for putting this together. I was wondering if there was any support provided for OAuth? I had a look through the source code and documentation, and it appears there isn't. Maybe I'm missing something?

Cheers,

Simon

JMPerez commented 7 years ago

The library only wraps the calls to api.spotify.com. Depending on what authorization flow you want to use you might find this node.js wrapper useful (especially if implementing the authorization code flow), or if you plan to use client credentials you can check how https://github.com/JMPerez/spotify-iquiz or https://github.com/JMPerez/spotify-dedup

simonghales commented 7 years ago

Thanks for the quick response, I'll have a look at those links.