Announcements

Help Wizard

Step 1

NEXT STEP

WebPlaybackSDK Refresh Token

WebPlaybackSDK Refresh Token

When first initializing the WebPlaybackSDK, we are provided with a getOAuthToken property that returns a callback that accepts the access token as the only argument.

 

Would we use the same callback function to provide a refreshed access_token? Doesn't appear to be any documentation surrounding refreshing the token used by the SDK.

Reply
1 Reply

If the WebPlaybackSDK is anything like the iOS-SDK you'll have to hit the token swap server manually.

Suggested posts

Let's introduce ourselves!

Hey there you, ย  Yeah, you!ย 😁 ย  Welcome - we're glad you joined the Spotify Community! ย  While you here, let's have a fun game and getโ€ฆ

ModeratorStaff / Moderator/ 4 years ago  in Social & Random