<?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 Axios call to complete Authorization Code Flow not working in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Axios-call-to-complete-Authorization-Code-Flow-not-working/m-p/5451054#M6865</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a small project, and I am attempting to implement Authorization Code Flow Authentication. I am successfully obtaining the 'code', but my Axios call to obtain the access token is not working (400 error). I am sure it is because of the format of my Axios call, but I cannot find any good resources for how to do this &amp;nbsp;correctly (almost everybody does the Client Credential flow, which doesn't allow you to obtain user information, correct?).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anybody can give me advice on how to fix this code or otherwise accomplish user authentication so that I may obtain a Spotify user's top tracks, albums, etc, I would greatly appreciate it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 21:46:58 GMT</pubDate>
    <dc:creator>hometown</dc:creator>
    <dc:date>2022-10-28T21:46:58Z</dc:date>
    <item>
      <title>Axios call to complete Authorization Code Flow not working</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Axios-call-to-complete-Authorization-Code-Flow-not-working/m-p/5451054#M6865</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a small project, and I am attempting to implement Authorization Code Flow Authentication. I am successfully obtaining the 'code', but my Axios call to obtain the access token is not working (400 error). I am sure it is because of the format of my Axios call, but I cannot find any good resources for how to do this &amp;nbsp;correctly (almost everybody does the Client Credential flow, which doesn't allow you to obtain user information, correct?).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anybody can give me advice on how to fix this code or otherwise accomplish user authentication so that I may obtain a Spotify user's top tracks, albums, etc, I would greatly appreciate it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 21:46:58 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Axios-call-to-complete-Authorization-Code-Flow-not-working/m-p/5451054#M6865</guid>
      <dc:creator>hometown</dc:creator>
      <dc:date>2022-10-28T21:46:58Z</dc:date>
    </item>
  </channel>
</rss>

