<?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 flow on backend/server in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-flow-on-backend-server/m-p/5651248#M11071</link>
    <description>&lt;P&gt;I'm working on a project using the Spotify API that I'm migrating from my local machine over to an Azure Function. It uses the Authorization Code Flow for access to the Spotify data of whomever logs in on my program. The issue is, of course, that the 'Grant permissions' page opens up on the server and not the end-users local machine. Is there any way to either allow access from the server or send back the 'Grant permissions' request to the user's machine so that they can give access to my program?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked into other authentication flows, but all of them either require this type of user input or don't allow changing user information (e.g. modifying a playlist) which my program needs access to.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2023 18:48:30 GMT</pubDate>
    <dc:creator>-4cs7aj_805vb</dc:creator>
    <dc:date>2023-10-12T18:48:30Z</dc:date>
    <item>
      <title>Authorization code flow on backend/server</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-flow-on-backend-server/m-p/5651248#M11071</link>
      <description>&lt;P&gt;I'm working on a project using the Spotify API that I'm migrating from my local machine over to an Azure Function. It uses the Authorization Code Flow for access to the Spotify data of whomever logs in on my program. The issue is, of course, that the 'Grant permissions' page opens up on the server and not the end-users local machine. Is there any way to either allow access from the server or send back the 'Grant permissions' request to the user's machine so that they can give access to my program?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked into other authentication flows, but all of them either require this type of user input or don't allow changing user information (e.g. modifying a playlist) which my program needs access to.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 18:48:30 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-flow-on-backend-server/m-p/5651248#M11071</guid>
      <dc:creator>-4cs7aj_805vb</dc:creator>
      <dc:date>2023-10-12T18:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization code flow on backend/server</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-flow-on-backend-server/m-p/5652019#M11091</link>
      <description>&lt;P&gt;You can set up the authorization code flow on your computer, with the redirect url pointing to your server. After you log in, a code you'll need for the flow will be in the URL bar.&lt;/P&gt;&lt;P&gt;After you have completed the flow, you can store access token and refresh token on your server to let your app use them. You will need to implement the mechanisms to request a refreshed access token on your server for when it expires after one hour.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 11:10:21 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authorization-code-flow-on-backend-server/m-p/5652019#M11091</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-10-14T11:10:21Z</dc:date>
    </item>
  </channel>
</rss>

