<?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 Wrong access token return in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Wrong-access-token-return/m-p/5806970#M12212</link>
    <description>&lt;P&gt;Plan&lt;BR /&gt;Premium&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Country&lt;BR /&gt;USA and India&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Device&lt;/P&gt;&lt;P&gt;iPhone&lt;BR /&gt;&lt;BR /&gt;Platform&lt;BR /&gt;Mobile (iOS)&lt;BR /&gt;&lt;BR /&gt;Issue :&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a app which uses Spotify service to play songs. I've logged in to my app (eg. as user-1 this is currently logged in to Spotify) and then I close my app then go to Spotify and change my account to user-2. After this I open my application and logout from my app then login again I get the access token for user-1 on first fetch but when I fetch the access token for second time I'm getting the correct user's access token which is the user that is currently logged in to Spotify. Also I've cleared all the user data when I click logout in my app.&lt;BR /&gt;&lt;BR /&gt;This is not happening in Android, this occurs only in iOS using Spotify iOS SDK.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Does the SDK caches the old user data ? If yes, How can I clear that ?&lt;/P&gt;&lt;P&gt;How do I solve this issue ?&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 08:41:06 GMT</pubDate>
    <dc:creator>Soundbites</dc:creator>
    <dc:date>2024-01-10T08:41:06Z</dc:date>
    <item>
      <title>Wrong access token return</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Wrong-access-token-return/m-p/5806970#M12212</link>
      <description>&lt;P&gt;Plan&lt;BR /&gt;Premium&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Country&lt;BR /&gt;USA and India&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Device&lt;/P&gt;&lt;P&gt;iPhone&lt;BR /&gt;&lt;BR /&gt;Platform&lt;BR /&gt;Mobile (iOS)&lt;BR /&gt;&lt;BR /&gt;Issue :&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a app which uses Spotify service to play songs. I've logged in to my app (eg. as user-1 this is currently logged in to Spotify) and then I close my app then go to Spotify and change my account to user-2. After this I open my application and logout from my app then login again I get the access token for user-1 on first fetch but when I fetch the access token for second time I'm getting the correct user's access token which is the user that is currently logged in to Spotify. Also I've cleared all the user data when I click logout in my app.&lt;BR /&gt;&lt;BR /&gt;This is not happening in Android, this occurs only in iOS using Spotify iOS SDK.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Does the SDK caches the old user data ? If yes, How can I clear that ?&lt;/P&gt;&lt;P&gt;How do I solve this issue ?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 08:41:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Wrong-access-token-return/m-p/5806970#M12212</guid>
      <dc:creator>Soundbites</dc:creator>
      <dc:date>2024-01-10T08:41:06Z</dc:date>
    </item>
  </channel>
</rss>

