0

After the new update to the Spotify iOS SDK and Web API I have been working with the new libraries (they're great!)

However I am wondering how does one authenticate a user once, say on iOS, and then share this authentication token to the other services to keep a single user session.

Specifically since libSpotify uses a password as opposed to an access token, how would one fix this issue?

1 Answers1

0

You can't. The iOS SDK is intended to replace libspotify/CocoaLibSpotify entirely, and the authentication stacks aren't compatible. If there's something in CocoaLibSpotify that you rely on that's missing from the iOS SDK, file an issue on the iOS SDK's issue tracker to let us know about it and stick with CocoaLibSpotify for now.

iKenndac
  • 18,730
  • 3
  • 35
  • 51
  • Hey @iKenndac thanks for responding. I think my question wasn't clear enough - my question is about sharing auth tokens between the new version of the WebApi and the libSpotify C Library. – TiernanKennedy Jun 22 '14 at 15:13
  • My answer remains exactly the same — libspotify doesn't accept OAuth tokens. – iKenndac Jun 22 '14 at 19:08