<?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 Authorization: code_verifier was incorrect in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-verifier-was-incorrect/m-p/5859959#M12532</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;We are having some trouble implementing the IOS Spotify SDK. We use it in the context of user authorisation in order to get the &lt;/SPAN&gt;&lt;SPAN&gt;`code`&lt;/SPAN&gt;&lt;SPAN&gt;. We pass the &lt;/SPAN&gt;&lt;SPAN&gt;`code`&lt;/SPAN&gt;&lt;SPAN&gt; to our api (where it is transformed). Our api (nodejs) calls a spotify token endpoint and we keep getting an error &lt;/SPAN&gt;&lt;SPAN&gt;`code_verifier was incorrect`&lt;/SPAN&gt;&lt;SPAN&gt;. We tried regenerating it and we still get the same error. The &lt;/SPAN&gt;&lt;SPAN&gt;`redirectUri`&lt;/SPAN&gt;&lt;SPAN&gt; is correctly registered and we use it with both api and mobile. On Android it works correctly (with and without &lt;/SPAN&gt;&lt;SPAN&gt;`code_verifier`&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;If anyone can help, please let us know. Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Free&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;France&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ios 17.2.1 iphone 14 pro max&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 14:43:19 GMT</pubDate>
    <dc:creator>NicTc</dc:creator>
    <dc:date>2024-02-02T14:43:19Z</dc:date>
    <item>
      <title>Authorization: code_verifier was incorrect</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-verifier-was-incorrect/m-p/5859959#M12532</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;We are having some trouble implementing the IOS Spotify SDK. We use it in the context of user authorisation in order to get the &lt;/SPAN&gt;&lt;SPAN&gt;`code`&lt;/SPAN&gt;&lt;SPAN&gt;. We pass the &lt;/SPAN&gt;&lt;SPAN&gt;`code`&lt;/SPAN&gt;&lt;SPAN&gt; to our api (where it is transformed). Our api (nodejs) calls a spotify token endpoint and we keep getting an error &lt;/SPAN&gt;&lt;SPAN&gt;`code_verifier was incorrect`&lt;/SPAN&gt;&lt;SPAN&gt;. We tried regenerating it and we still get the same error. The &lt;/SPAN&gt;&lt;SPAN&gt;`redirectUri`&lt;/SPAN&gt;&lt;SPAN&gt; is correctly registered and we use it with both api and mobile. On Android it works correctly (with and without &lt;/SPAN&gt;&lt;SPAN&gt;`code_verifier`&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;If anyone can help, please let us know. Thanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Free&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;France&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ios 17.2.1 iphone 14 pro max&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 14:43:19 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-verifier-was-incorrect/m-p/5859959#M12532</guid>
      <dc:creator>NicTc</dc:creator>
      <dc:date>2024-02-02T14:43:19Z</dc:date>
    </item>
  </channel>
</rss>

