<?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 Documentation Error on Refreshing Tokens in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Documentation-Error-on-Refreshing-Tokens/m-p/5715910#M11657</link>
    <description>&lt;P&gt;I lost some time trying to debug this, commenting just so it's fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the browser example in&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens&lt;/A&gt; the code reads:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('access_token', response.accessToken);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('refresh_token', response.refreshToken);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but it should be:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('access_token', response.access_token);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('refresh_token', response.refresh_token);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 04:43:46 GMT</pubDate>
    <dc:creator>selira</dc:creator>
    <dc:date>2023-12-01T04:43:46Z</dc:date>
    <item>
      <title>Documentation Error on Refreshing Tokens</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Documentation-Error-on-Refreshing-Tokens/m-p/5715910#M11657</link>
      <description>&lt;P&gt;I lost some time trying to debug this, commenting just so it's fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the browser example in&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens&lt;/A&gt; the code reads:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('access_token', response.accessToken);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('refresh_token', response.refreshToken);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but it should be:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('access_token', response.access_token);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;localStorage.setItem('refresh_token', response.refresh_token);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 04:43:46 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Documentation-Error-on-Refreshing-Tokens/m-p/5715910#M11657</guid>
      <dc:creator>selira</dc:creator>
      <dc:date>2023-12-01T04:43:46Z</dc:date>
    </item>
  </channel>
</rss>

