<?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: Authorization issue w/ iOS in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599272#M9699</link>
    <description>&lt;P&gt;Try adding the bundle id for your iOS app to your Spotify developer application.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 06:00:20 GMT</pubDate>
    <dc:creator>Peter_Schorn</dc:creator>
    <dc:date>2023-06-22T06:00:20Z</dc:date>
    <item>
      <title>Authorization issue w/ iOS</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5598034#M9660</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Free/Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United States&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(iPhone/Android)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We recently just published our application to the Google Play store, however, ran into an issue with publishing it to the App Store with our iOS version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue seems to be with the Client ID. We were granted the quota extension and the new Client ID works with the Android version, but not the iOS version. We used Flutter to create our Android and iOS apps so it's the same code between the two.&amp;nbsp; We created a new account to test the Development Mode Client ID, and that does work for the iOS version. So it's just the new client id in iOS we're having an issue with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;This is the error message we receive:&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;getAccessToken failed with&amp;nbsp;&amp;nbsp;[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(authenticationTokenError, null, null, null).message&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what the error message means and how to resolve it? And is there anything we are missing below that would be causing the issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;var &lt;/SPAN&gt;authenticationToken = await SpotifySdk.getAccessToken(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; clientId: &lt;SPAN&gt;"xxxxxxxxxxxxxxxxxxxxxxxxxx"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;redirectUrl: &lt;SPAN&gt;"spotify-ios-quick-start://spotify-login-callback"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;scope:Constants.spotifyScopes)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Thanks in advance for your help and support.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 16:06:40 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5598034#M9660</guid>
      <dc:creator>gtruzzi</dc:creator>
      <dc:date>2023-06-19T16:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization issue w/ iOS</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599272#M9699</link>
      <description>&lt;P&gt;Try adding the bundle id for your iOS app to your Spotify developer application.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 06:00:20 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599272#M9699</guid>
      <dc:creator>Peter_Schorn</dc:creator>
      <dc:date>2023-06-22T06:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization issue w/ iOS</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599577#M9708</link>
      <description>&lt;P&gt;Thank you for your suggestion! We do have the bundle id for the iOS app already added to the Spotify developer dashboard.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:02:21 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599577#M9708</guid>
      <dc:creator>gtruzzi</dc:creator>
      <dc:date>2023-06-22T17:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization issue w/ iOS</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599583#M9710</link>
      <description>&lt;P&gt;The ID you use for the redirectUrl in your copied code is "spotify-ios-quick-start". I think this should also be the same as the bundle ID.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:23:14 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599583#M9710</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-06-22T17:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization issue w/ iOS</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599600#M9712</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/22319770"&gt;@Ximzend&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;The ID you use for the redirectUrl in your copied code is "spotify-ios-quick-start". I think this should also be the same as the bundle ID.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is false. "spotify-ios-quick-start://spotify-login-callback" is a URL with the custom URL scheme "spotify-ios-quick-start". This is completely separate from an iOS application bundle ID, although they could happen to be the same value.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 18:19:37 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5599600#M9712</guid>
      <dc:creator>Peter_Schorn</dc:creator>
      <dc:date>2023-06-22T18:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization issue w/ iOS</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5601499#M9750</link>
      <description>&lt;P&gt;Hey there - we tried both suggestions and they both presented the same error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 12:33:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-issue-w-iOS/m-p/5601499#M9750</guid>
      <dc:creator>gtruzzi</dc:creator>
      <dc:date>2023-06-27T12:33:28Z</dc:date>
    </item>
  </channel>
</rss>

