<?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 Using HTTP-Only cookies for access tokens in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Using-HTTP-Only-cookies-for-access-tokens/m-p/5523251#M8414</link>
    <description>&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have set up a Node app that follows the OAuth authorization flow with PKCE, but I can only receive access tokens in the HTTP response body. Ideally I want to use HTTP-only cookies as I would if I was using my own server to avoid&amp;nbsp;&lt;SPAN&gt;XSS or CSRF attacks. Is there any way to do this with the API without creating my own cookies through a server?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Mar 2023 18:51:40 GMT</pubDate>
    <dc:creator>MichaelKeay</dc:creator>
    <dc:date>2023-03-18T18:51:40Z</dc:date>
    <item>
      <title>Using HTTP-Only cookies for access tokens</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Using-HTTP-Only-cookies-for-access-tokens/m-p/5523251#M8414</link>
      <description>&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have set up a Node app that follows the OAuth authorization flow with PKCE, but I can only receive access tokens in the HTTP response body. Ideally I want to use HTTP-only cookies as I would if I was using my own server to avoid&amp;nbsp;&lt;SPAN&gt;XSS or CSRF attacks. Is there any way to do this with the API without creating my own cookies through a server?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 18:51:40 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Using-HTTP-Only-cookies-for-access-tokens/m-p/5523251#M8414</guid>
      <dc:creator>MichaelKeay</dc:creator>
      <dc:date>2023-03-18T18:51:40Z</dc:date>
    </item>
  </channel>
</rss>

