<?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 Re: Auth not working for web api on certain iPhones in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Auth-not-working-for-web-api-on-certain-iPhones/m-p/6265182#M14760</link>
    <description>&lt;P&gt;It is also possible that privacy protection / memory management in your mobile web browser is clearing local storage or cookies, preventing your authentication flow from working properly (since it needs to read these when you are redirected back after authorization). Might be worth logging these values and making sure the flow is not broken.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2024 11:37:53 GMT</pubDate>
    <dc:creator>LambertSpot</dc:creator>
    <dc:date>2024-08-15T11:37:53Z</dc:date>
    <item>
      <title>Auth not working for web api on certain iPhones</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Auth-not-working-for-web-api-on-certain-iPhones/m-p/6239859#M14642</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I'm using the Spotify Web API to create a music player within a web app. I've got everything working fine on all devices, except for newer iPhones.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On the iPhone 10, iPhone 14 and iPhone 15, on all browsers, authentication isn't working. After logging into Spotify and granting permissions, the user is redirected back to the web app. However, they are not authenticated. The app behaves as if they are not authenticated and no access token is in local storage (where I was storing it).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There are no errors in the console.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Once again, this flow works perfectly fine on all devices I've tested it on, except for the iPhone 10, 14, and 15. Android is never a problem. I've confirmed it works on an iPhone 7 and an iPhone 12. The iOS version is the same on the iPhone 12, 14, and 15, yet auth only works on the 12.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Has anyone else ran into this issue?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 19:41:30 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Auth-not-working-for-web-api-on-certain-iPhones/m-p/6239859#M14642</guid>
      <dc:creator>tanyarasoul</dc:creator>
      <dc:date>2024-08-03T19:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Auth not working for web api on certain iPhones</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Auth-not-working-for-web-api-on-certain-iPhones/m-p/6240645#M14643</link>
      <description>&lt;P&gt;Hey tanyarasoul, thanks for reaching out on the Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is strange behavior. Do you log in with the same account on each phone?&lt;/P&gt;&lt;P&gt;If not, this behaviour could be explained by that your app is still in development mode. With this mode, you will need to add the name and email address of each account to the settings dashboard of your app for testing purposes. You can read more about it &lt;A href="https://developer.spotify.com/documentation/web-api/concepts/quota-modes" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me of this helps and if you have other questions.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 06:39:14 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Auth-not-working-for-web-api-on-certain-iPhones/m-p/6240645#M14643</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2024-08-04T06:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Auth not working for web api on certain iPhones</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Auth-not-working-for-web-api-on-certain-iPhones/m-p/6265182#M14760</link>
      <description>&lt;P&gt;It is also possible that privacy protection / memory management in your mobile web browser is clearing local storage or cookies, preventing your authentication flow from working properly (since it needs to read these when you are redirected back after authorization). Might be worth logging these values and making sure the flow is not broken.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 11:37:53 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Auth-not-working-for-web-api-on-certain-iPhones/m-p/6265182#M14760</guid>
      <dc:creator>LambertSpot</dc:creator>
      <dc:date>2024-08-15T11:37:53Z</dc:date>
    </item>
  </channel>
</rss>

