<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic iOS SDK Unable to Authenticate Offline in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/iOS-SDK-Unable-to-Authenticate-Offline/m-p/5461469#M7127</link>
    <description>&lt;P&gt;Just about all the &lt;A href="https://developer.spotify.com/documentation/ios/quick-start/" target="_self"&gt;documentation&lt;/A&gt; I have seen says that to successfully authorize a user while offline, the following conditions have to be met:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Your application has successfully connected to Spotify within the last 24 hours&lt;/LI&gt;&lt;LI&gt;Your application uses the same redirect URI, client ID and scopes when connecting to Spotify&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, I have not been able to actually do this. I create an &lt;A href="https://github.com/spotify/ios-sdk/issues/366" target="_self"&gt;issue&lt;/A&gt; in the ios-sdk github repo with the following information&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;When I get the access token and there is internet connection, I get a URL back in the following format&lt;/P&gt;&lt;PRE&gt;my-app-name//spotify-login-callback/?spotify_version=8.7.84.360#access_token=ReallyLongAccessToken&amp;amp;token_type=Bearer&amp;amp;expires_in=3600&lt;/PRE&gt;&lt;P&gt;If I run the same flow without internet connection, I get back the same thing, sans token.&lt;/P&gt;&lt;PRE&gt;my-app-name://spotify-login-callback?spotify_version=8.7.84.360&lt;/PRE&gt;&lt;P&gt;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&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 06:34:42 GMT</pubDate>
    <dc:creator>adcohen</dc:creator>
    <dc:date>2022-11-23T06:34:42Z</dc:date>
    <item>
      <title>iOS SDK Unable to Authenticate Offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/iOS-SDK-Unable-to-Authenticate-Offline/m-p/5461469#M7127</link>
      <description>&lt;P&gt;Just about all the &lt;A href="https://developer.spotify.com/documentation/ios/quick-start/" target="_self"&gt;documentation&lt;/A&gt; I have seen says that to successfully authorize a user while offline, the following conditions have to be met:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Your application has successfully connected to Spotify within the last 24 hours&lt;/LI&gt;&lt;LI&gt;Your application uses the same redirect URI, client ID and scopes when connecting to Spotify&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, I have not been able to actually do this. I create an &lt;A href="https://github.com/spotify/ios-sdk/issues/366" target="_self"&gt;issue&lt;/A&gt; in the ios-sdk github repo with the following information&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;When I get the access token and there is internet connection, I get a URL back in the following format&lt;/P&gt;&lt;PRE&gt;my-app-name//spotify-login-callback/?spotify_version=8.7.84.360#access_token=ReallyLongAccessToken&amp;amp;token_type=Bearer&amp;amp;expires_in=3600&lt;/PRE&gt;&lt;P&gt;If I run the same flow without internet connection, I get back the same thing, sans token.&lt;/P&gt;&lt;PRE&gt;my-app-name://spotify-login-callback?spotify_version=8.7.84.360&lt;/PRE&gt;&lt;P&gt;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&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 06:34:42 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/iOS-SDK-Unable-to-Authenticate-Offline/m-p/5461469#M7127</guid>
      <dc:creator>adcohen</dc:creator>
      <dc:date>2022-11-23T06:34:42Z</dc:date>
    </item>
  </channel>
</rss>

