Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

spotifyOauthServer

Instantly handle Spotify access with this server!

Handles the token generation and refreshing as required.

Make sure to set the CLIENT_ID and CLIENT_SECRET environment variables, as well as the URL of the server in the code.