Skip to content

one-click deployment of a Spotify token swap/refresh service to Heroku

License

Notifications You must be signed in to change notification settings

PARALYTIC08/SpotifyTokenRefresh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpotifyTokenRefresh

For apps that use the Spotify API, users are required to login once every 60 minutes unless you implement the Authorization Code flow. Using this flow requires that you setup your own server that performs a token swap and refresh.

Use this quick deploy to Heroku for a one-click deployment of a free server that acts as your token swap/refresh service. You'll need to enter your Client ID, Client Secret and Callback URI.

Deploy

By default, this sets you up with a free server, which has the drawback that it goes to sleep after 30 minutes of inactivity. To keep your server alive, setup a service such as StatusCake to ping your server once every ten minutes.

About

one-click deployment of a Spotify token swap/refresh service to Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%