zmb3 / spotify

A Go wrapper for the Spotify Web API
Apache License 2.0
1.37k stars 287 forks source link

Support for "client credentials" flow. #82

Closed jdelfino closed 5 years ago

jdelfino commented 5 years ago

Originally reported in: https://github.com/zmb3/spotify/issues/37. The workaround posted there does not allow the token to be automatically refreshed -oauth2.clientcredentials.Config.Client() must be used to create the Client.

Open to a better name for this method :)