Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Does the iOS sdk handle refresh token automatically?

Does the iOS sdk handle refresh token automatically?

Hello, I am using the demo login project SPTLoginSampleAppSwift and I've setup the backend with /swap and /refresh endpoints. The swap works I see it on the server logs when is called and the demo app goes into pulling current song being played artwork and provide a pause/play button and a disconnect button at the bottom, however when the 1hr passes the app does not refresh the token and instead goes back to the connect button view.

 

What should I do to refresh token?

Reply
2 Replies

Never mind, I had another issue that wasn't related to refreshing the token. Close issue please.

Hi @TheFern2,

 

I'm glad you have found and fixed the issue.

 

Could you please share how you fixed it? Then you can accept it as a solution after clicking the three dots at that message.

 

Cheers,

XimzendRising Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts