<?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: Creating playlist without any user interaction in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Creating-playlist-without-any-user-interaction/m-p/5595593#M9600</link>
    <description>&lt;P&gt;&lt;SPAN&gt;If you've got an Access token and a Refresh token from the host account, and store them security (but editable for your server side script), your app can keep using them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only thing you have to make extra is a kind of admin page to get and store the tokens on your server, and a code that can refresh the access token if it's expired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can read more about the Authorization Code Flow on here: &lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/code-flow" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/tutorials/code-flow&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 15:10:28 GMT</pubDate>
    <dc:creator>Ximzend</dc:creator>
    <dc:date>2023-06-13T15:10:28Z</dc:date>
    <item>
      <title>Creating playlist without any user interaction</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Creating-playlist-without-any-user-interaction/m-p/5595555#M9595</link>
      <description>&lt;P&gt;I'm developing an app that creates customized playlists for users. This shouldn't require the user to log-in with his Spotify account, so the playlists should be public for anyone to access. As far as I know, the Spotify API doesn't allow creating playlists without assigning them to a user account, so I would need to create a "system" account that owns all the playlists.&lt;BR /&gt;&lt;BR /&gt;This is a problem for us, because we cannot use Client Credentials Grant to authenticate the backend anymore. Authorization Code Grant requires user interaction, which is not useful for server-to-server auth. We could authenticate once and then use the refresh_token to keep that access_token alive, but that's just a workaround, and could cause problems eventually. I also noticed Spotify API doesn't support "Resource Owner Password Credentials Grant", so I'm running out of options here.&lt;BR /&gt;&lt;BR /&gt;I'd like to ask if anyone knows a better way to accomplish what I'm trying to do, without any kind of user interaction (no log-in in a browser). Is that possible?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 13:11:21 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Creating-playlist-without-any-user-interaction/m-p/5595555#M9595</guid>
      <dc:creator>MaxShadow</dc:creator>
      <dc:date>2023-06-13T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating playlist without any user interaction</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Creating-playlist-without-any-user-interaction/m-p/5595593#M9600</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If you've got an Access token and a Refresh token from the host account, and store them security (but editable for your server side script), your app can keep using them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only thing you have to make extra is a kind of admin page to get and store the tokens on your server, and a code that can refresh the access token if it's expired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can read more about the Authorization Code Flow on here: &lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/code-flow" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/tutorials/code-flow&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 15:10:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Creating-playlist-without-any-user-interaction/m-p/5595593#M9600</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-06-13T15:10:28Z</dc:date>
    </item>
  </channel>
</rss>

