<?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 INVALID_CLIENT: Insecure redirect URI in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI/m-p/6992365#M18022</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm new to the Spotify API and I'm currently trying to complete the OAuth authorization flow for my web application. After being redirected to the Spotify login page, I log in, but instead of getting redirected to my app's callback URL, I get an error that says:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"INVALID_CLIENT: Insecure redirect URI"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It's &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp;the usual "Invalid redirect URI" error, so I suspect it's related to a security restriction rather than a misconfiguration.&lt;/P&gt;&lt;P&gt;I'm using a redirect URI like this:&lt;BR /&gt;`&lt;A href="http://123.45.67.89:2001/callback" target="_blank"&gt;http://123.45.67.89:2001/callback&lt;/A&gt;`&lt;BR /&gt;This URI is&amp;nbsp;&lt;STRONG&gt;registered exactly as-is&lt;/STRONG&gt;&amp;nbsp;in the Spotify Developer Dashboard, and I'm using the &lt;STRONG&gt;public IP of my server&lt;/STRONG&gt;, not `127.0.0.1`, because I'm not working locally.&lt;/P&gt;&lt;P&gt;I've double-checked the URI in the dashboard, in my code, and in the documentation — everything seems correct. Still, the error persists.&lt;/P&gt;&lt;P&gt;I’ve also noticed that other developers seem to be encountering this issue recently, so I’m wondering if it could be related to recent changes on Spotify’s side?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate any help or workaround — even a temporary solution for development purposes — as I need to have a working version of my project ready within the next few weeks.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 09:17:02 GMT</pubDate>
    <dc:creator>Kely_39</dc:creator>
    <dc:date>2025-06-02T09:17:02Z</dc:date>
    <item>
      <title>INVALID_CLIENT: Insecure redirect URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI/m-p/6992365#M18022</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm new to the Spotify API and I'm currently trying to complete the OAuth authorization flow for my web application. After being redirected to the Spotify login page, I log in, but instead of getting redirected to my app's callback URL, I get an error that says:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"INVALID_CLIENT: Insecure redirect URI"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It's &lt;EM&gt;not&lt;/EM&gt;&amp;nbsp;the usual "Invalid redirect URI" error, so I suspect it's related to a security restriction rather than a misconfiguration.&lt;/P&gt;&lt;P&gt;I'm using a redirect URI like this:&lt;BR /&gt;`&lt;A href="http://123.45.67.89:2001/callback" target="_blank"&gt;http://123.45.67.89:2001/callback&lt;/A&gt;`&lt;BR /&gt;This URI is&amp;nbsp;&lt;STRONG&gt;registered exactly as-is&lt;/STRONG&gt;&amp;nbsp;in the Spotify Developer Dashboard, and I'm using the &lt;STRONG&gt;public IP of my server&lt;/STRONG&gt;, not `127.0.0.1`, because I'm not working locally.&lt;/P&gt;&lt;P&gt;I've double-checked the URI in the dashboard, in my code, and in the documentation — everything seems correct. Still, the error persists.&lt;/P&gt;&lt;P&gt;I’ve also noticed that other developers seem to be encountering this issue recently, so I’m wondering if it could be related to recent changes on Spotify’s side?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate any help or workaround — even a temporary solution for development purposes — as I need to have a working version of my project ready within the next few weeks.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 09:17:02 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI/m-p/6992365#M18022</guid>
      <dc:creator>Kely_39</dc:creator>
      <dc:date>2025-06-02T09:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI/m-p/7013076#M18185</link>
      <description>&lt;P&gt;I believe it is because you are using http instead of https, from &lt;A href="https://developer.spotify.com/documentation/web-api/concepts/redirect_uri" target="_self"&gt;documentation&lt;/A&gt; on Redirect URI:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Use HTTPS for your redirect URI, unless you are using a loopback address, when HTTP is permitted.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;The public IP of your server is &lt;EM&gt;not&lt;/EM&gt; a loopback address I believe.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 11:19:44 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI/m-p/7013076#M18185</guid>
      <dc:creator>LambertSpot</dc:creator>
      <dc:date>2025-06-17T11:19:44Z</dc:date>
    </item>
  </channel>
</rss>

