<?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: Oauth sign in to web api without web browser / graphical interface in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Oauth-sign-in-to-web-api-without-web-browser-graphical-interface/m-p/6525905#M15567</link>
    <description>&lt;P&gt;I was searching for the answer for some time for my own purposes, and you man helped me very well, I have no idea why I even did not think about storing the token. Perhaps due to security reason, but I realized that without your login cookies the token itself does not give anybody anything serious.&lt;BR /&gt;&lt;BR /&gt;What I noticed is that Spotify from time to time (once a week?) returns you a page with "Would you like to allow this app to have an access to your personal data?" and "Agree" button. In my case it is completely okay, I redirect user to browser, but for the guy above sounds like deal breaker.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 12:42:29 GMT</pubDate>
    <dc:creator>IgorM1</dc:creator>
    <dc:date>2024-11-21T12:42:29Z</dc:date>
    <item>
      <title>Oauth sign in to web api without web browser / graphical interface</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Oauth-sign-in-to-web-api-without-web-browser-graphical-interface/m-p/5771861#M11966</link>
      <description>&lt;P&gt;I'm working on the alarm clock with Spotify playlists and albums. I wrote a client (&lt;A href="https://github.com/ciembor/spotify-cmd" target="_blank" rel="noopener"&gt;https://github.com/ciembor/spotify-cmd&lt;/A&gt;) based on a Spotify Web API and it works well, but when I Connect using oauth it opens browser and then uses my callback. The problem is I will have no graphical interface nor browser in the Raspberry. There will be very basic Raspbian with no X windows. What to do in such case? It musi be reliable solution, once I install it on Raspbian it should connect to Spotify API without any user activity for years and be reliable. After all it's an alarm clock.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RaspberryPi / any computer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Linux / osx / bsd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 17:31:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Oauth-sign-in-to-web-api-without-web-browser-graphical-interface/m-p/5771861#M11966</guid>
      <dc:creator>mci</dc:creator>
      <dc:date>2023-12-24T17:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth sign in to web api without web browser / graphical interface</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Oauth-sign-in-to-web-api-without-web-browser-graphical-interface/m-p/5771943#M11967</link>
      <description>&lt;P&gt;You can do the authentication at your computer, and copy the final Access Token and Refresh Token into a file. Your program then only needs to access the tokens in that file, and refresh them when they expire. If the API does not return a new one, you can reuse the old refresh token.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/concepts/authorization" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/concepts/authorization&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/tutorials/refreshing-tokens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note: You can Not use the Client Credentials flow for this.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 12:46:32 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Oauth-sign-in-to-web-api-without-web-browser-graphical-interface/m-p/5771943#M11967</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2024-11-21T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth sign in to web api without web browser / graphical interface</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Oauth-sign-in-to-web-api-without-web-browser-graphical-interface/m-p/6525905#M15567</link>
      <description>&lt;P&gt;I was searching for the answer for some time for my own purposes, and you man helped me very well, I have no idea why I even did not think about storing the token. Perhaps due to security reason, but I realized that without your login cookies the token itself does not give anybody anything serious.&lt;BR /&gt;&lt;BR /&gt;What I noticed is that Spotify from time to time (once a week?) returns you a page with "Would you like to allow this app to have an access to your personal data?" and "Agree" button. In my case it is completely okay, I redirect user to browser, but for the guy above sounds like deal breaker.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 12:42:29 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Oauth-sign-in-to-web-api-without-web-browser-graphical-interface/m-p/6525905#M15567</guid>
      <dc:creator>IgorM1</dc:creator>
      <dc:date>2024-11-21T12:42:29Z</dc:date>
    </item>
  </channel>
</rss>

