spotify icon indicating copy to clipboard operation
spotify copied to clipboard

Token Swap Support?

Open Beeze opened this issue 4 years ago • 3 comments

https://developer.spotify.com/documentation/ios/guides/token-swap-and-refresh/

Beeze avatar Oct 11 '20 23:10 Beeze

What is the question or feature request? That looks like a feature of the iOS SDK to me.

zmb3 avatar Oct 13 '20 19:10 zmb3

feature request if the functionality doesn't already exist. Looks like the flow is:

  1. client starts an auth request that takes a server side endpoint as a redirectUri
  2. server receives the token.
  3. server handles token, and forwards token to client redirect uri.

Here's the ruby token swap handler they wrote https://github.com/spotify/ios-sdk/blob/25971e23565ddad7b9049ac182d3edbc17bb336f/DemoProjects/spotify_token_swap.rb

Beeze avatar Oct 14 '20 00:10 Beeze

more info here: https://github.com/spotify/ios-sdk/blob/99f3adc5254ffad2225bcdc9cb4744199c2ae666/docs/auth.md

Beeze avatar Oct 14 '20 00:10 Beeze