How to create your own Token Exchange Service using Parse. Replace credentials in cloud/main.js with your own.
Create an account at www.parse.com and use the following guide to set up Cloud Code: https://parse.com/docs/cloud_code_guide
Replace main.js with cloud/main.js in this repository
Replace the credentials to yours
Deploy to Parse Cloud Code
Continue the Spotify Tutorial: https://developer.spotify.com/technologies/spotify-ios-sdk/tutorial/#setting-up-your-token-exchange-service