iOS SDK Unable to Authenticate Offline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just about all the documentation I have seen says that to successfully authorize a user while offline, the following conditions have to be met:
- Your application has successfully connected to Spotify within the last 24 hours
- Your application uses the same redirect URI, client ID and scopes when connecting to Spotify
However, I have not been able to actually do this. I create an issue in the ios-sdk github repo with the following information
------
When I get the access token and there is internet connection, I get a URL back in the following format
my-app-name//spotify-login-callback/?spotify_version=8.7.84.360#access_token=ReallyLongAccessToken&token_type=Bearer&expires_in=3600
If I run the same flow without internet connection, I get back the same thing, sans token.
my-app-name://spotify-login-callback?spotify_version=8.7.84.360
I was under the impression that as long as I have authenticated before on the device, I would be able to then authenticate offline. Was the Spotify app made incompatible with the SDK? Or is there a different way to go about offline auth
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page