<?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: INVALID_CLIENT: Insecure redirect URI, using custom URI in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6964120#M17883</link>
    <description>&lt;P&gt;Could the docs at least be updated to indicate that &lt;A href="https://localhost" target="_blank"&gt;https://localhost&lt;/A&gt;&amp;nbsp;is not supported?&lt;/P&gt;</description>
    <pubDate>Fri, 16 May 2025 04:19:46 GMT</pubDate>
    <dc:creator>JoshNoe</dc:creator>
    <dc:date>2025-05-16T04:19:46Z</dc:date>
    <item>
      <title>INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6919036#M17560</link>
      <description>&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;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;US&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Samsung S20 FE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Android&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to the spotify API and I am trying to complete the Oauth authorization flow for my android application.&amp;nbsp; After my app redirects me to the spotify login page, I login, and it redirects me to a page that says "INVALID_CLIENT: Insecure redirect URI", it does NOT say "INVALID_CLIENT: Invalid redirect URI" which makes me believe it is a security issue.&amp;nbsp; I am using a custom redirect URI, let's call it "com.myapp://callback".&amp;nbsp; I have added this exactly to the redirect URI of my spotify dashboard for this project, and have verified that I wrote this exactly everywhere else in my project that required a redirect URI.&lt;BR /&gt;&lt;BR /&gt;If anyone has any insight on this then I'd really appreciate it.&amp;nbsp; I feel that it has something to do with spotify's new redirect URI security requirements, but I thought that those didn't apply to custom URIs for mobile apps and I'd appreciate any insight.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;BR /&gt;I have tested my application with a client id from a spotify project that I had created before April 9th (the date of the Spotify rules being enforced), and the application worked perfectly.&amp;nbsp; This leads me to believe that it is an issue with the new redirect URI rules and how custom URIs are handled for mobile applications.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 16:29:57 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6919036#M17560</guid>
      <dc:creator>Cbooch13</dc:creator>
      <dc:date>2025-04-14T16:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6919049#M17562</link>
      <description>&lt;P&gt;EDIT:&amp;nbsp; Added my comment to the above question.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 15:00:08 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6919049#M17562</guid>
      <dc:creator>Cbooch13</dc:creator>
      <dc:date>2025-04-14T15:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6921184#M17573</link>
      <description>&lt;P&gt;i fixed it by using "&lt;SPAN&gt;&lt;A href="https://httpbin.org/anything" target="_blank"&gt;https://httpbin.org/anything&lt;/A&gt;&lt;/SPAN&gt;" as redirect_uri and it works. i was able to create my token and also refresh tokens.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 21:29:13 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6921184#M17573</guid>
      <dc:creator>hedenborn89</dc:creator>
      <dc:date>2025-04-15T21:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6921430#M17575</link>
      <description>&lt;P&gt;Im also having the same issue with a project of mine. API is returning &lt;STRONG&gt;insecure&lt;/STRONG&gt; redirect URI with blank page instead of redirecting me to my app&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 03:31:38 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6921430#M17575</guid>
      <dc:creator>Richard_Yang</dc:creator>
      <dc:date>2025-04-16T03:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6926860#M17610</link>
      <description>&lt;P&gt;I can confirm this issue. I created a new project and putting in a redirect to my app using a custom URL scheme results in an&amp;nbsp;&lt;SPAN&gt;Insecure redirect URI. But if I use an older project with a previously working custom URL redirect, it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I even have an issue that I want to change the existing redirect URL for the older project and adding a new callback using a different URL scheme for that older project also fails to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems like they forgot about custom URL schemes in apps while adding this new "security" restriction. Maybe not surprising after all of the layoffs and de-emphasis on partner integrations.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 17:37:02 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6926860#M17610</guid>
      <dc:creator>gregggreg</dc:creator>
      <dc:date>2025-04-18T17:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6931046#M17633</link>
      <description>&lt;P&gt;I get the exact same symptom error. Now they have to develop the project using the project I created in the past. I hope this crazy error will be fixed soon. But it's been more than 10 days since April 9 for the first time, so it should be resolved, but it's not yet.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 02:09:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6931046#M17633</guid>
      <dc:creator>Iccyan21</dc:creator>
      <dc:date>2025-04-22T02:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6931078#M17634</link>
      <description>&lt;P&gt;Their iOS SDK Demo apps are having issues : Spotify automatically close and the connection is refused. They really need to fix this! It's impossible to create a new app for the mobile SDK's right now. It ain't working.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 03:09:22 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6931078#M17634</guid>
      <dc:creator>BojackH</dc:creator>
      <dc:date>2025-04-22T03:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6940670#M17729</link>
      <description>&lt;P&gt;The API has been modified and is now usable!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 09:36:29 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6940670#M17729</guid>
      <dc:creator>Iccyan21</dc:creator>
      <dc:date>2025-04-30T09:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6944163#M17743</link>
      <description>&lt;P&gt;bro i am having same issue please can anyone resolve it ? i am creating an spotify clone using api and in spotify redirect url i have setup this&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;A href="https://localhost:3000/callback" target="_blank"&gt;&lt;STRONG&gt;https://localhost:3000/callback&lt;/STRONG&gt;&amp;nbsp;&lt;/A&gt;i am using mkcert for https and their certificate but after login and it showing me this in screen&amp;nbsp;&lt;STRONG&gt;INVALID_CLIENT: Insecure redirect URI &lt;/STRONG&gt;any solution ? please&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 07:09:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6944163#M17743</guid>
      <dc:creator>Hassanj99</dc:creator>
      <dc:date>2025-05-02T07:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6944203#M17746</link>
      <description>&lt;P data-unlink="true"&gt;I had the same problem, even with https:// , localhost was not supported (that was before the fix, I don't know if it's still the case). So I changed to 127.0.0.1 instead of localhost (you may have to change your server configuration). I hope this helps.&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/tutorials/migration-insecure-redirect-uri" target="_self"&gt;https://developer.spotify.com/documentation/web-api/tutorials/migration-insecure-redirect-uri&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 07:48:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6944203#M17746</guid>
      <dc:creator>Socrapop</dc:creator>
      <dc:date>2025-05-02T07:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6952386#M17795</link>
      <description>&lt;P&gt;This worked for me. The "fix" still doesn't work though.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 09:34:09 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6952386#M17795</guid>
      <dc:creator>Roffers</dc:creator>
      <dc:date>2025-05-08T09:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6957219#M17821</link>
      <description>&lt;P&gt;Locally this does not work with next js next-auth&amp;nbsp;&lt;A href="http://127.0.0.1:3000/api/auth/callback/spotify" target="_blank" rel="noopener"&gt;http://127.0.0.1:3000/api/auth/callback/spotify&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, my production deployment works with the production callback...&amp;nbsp; Is there a fix for local development?&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2025 03:29:46 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6957219#M17821</guid>
      <dc:creator>matt-user</dc:creator>
      <dc:date>2025-05-11T03:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6964120#M17883</link>
      <description>&lt;P&gt;Could the docs at least be updated to indicate that &lt;A href="https://localhost" target="_blank"&gt;https://localhost&lt;/A&gt;&amp;nbsp;is not supported?&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 04:19:46 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6964120#M17883</guid>
      <dc:creator>JoshNoe</dc:creator>
      <dc:date>2025-05-16T04:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6965765#M17890</link>
      <description>&lt;P&gt;I have the same problem.... can't make it work when running locally&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 01:21:00 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6965765#M17890</guid>
      <dc:creator>huerologe</dc:creator>
      <dc:date>2025-05-17T01:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6968776#M17912</link>
      <description>&lt;P&gt;Not working locally, keep getting INVALID_CLIENT!&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 17:48:43 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6968776#M17912</guid>
      <dc:creator>jishnu_ss</dc:creator>
      <dc:date>2025-05-19T17:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6969199#M17913</link>
      <description>&lt;P&gt;Spotify's documentation says it cannot be used as a localhost redirect URI.&lt;/P&gt;&lt;P&gt;so I don't think you can run it locally...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This URL :&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/concepts/redirect_uri" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/concepts/redirect_uri&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the only way to test it is to rent a temporary server such as Render or a development environment server...&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 02:54:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6969199#M17913</guid>
      <dc:creator>Iccyan21</dc:creator>
      <dc:date>2025-05-20T02:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6970250#M17919</link>
      <description>&lt;P&gt;so you can't publish the app on the web cuz they renewed the review process, and can't even package it as a local app cuz&amp;nbsp;localhost isn't allowed?!?! it's so over guys&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 21:28:09 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/6970250#M17919</guid>
      <dc:creator>postinferno</dc:creator>
      <dc:date>2025-05-20T21:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/7153965#M18860</link>
      <description>&lt;P&gt;I'm running my projects on a device on my local network. Therefore, I can't authenticate using 127.0.0.1 or localhost. What else can I use?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 28 Sep 2025 18:30:32 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/7153965#M18860</guid>
      <dc:creator>ramazansancar</dc:creator>
      <dc:date>2025-09-28T18:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/7156148#M18867</link>
      <description>&lt;P&gt;Just now i have tested the api and got obstructed with the same issue.&lt;/P&gt;&lt;P&gt;I'm running the bridge on a openHAB (latest) docker and after some trying i checked (gave authorisation) to the following in the app on the spotify developers dashboard:&amp;nbsp;Web Playback SDK. After this, my connection with the api in openHAB works perfectly!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 09:07:55 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/7156148#M18867</guid>
      <dc:creator>RaNL</dc:creator>
      <dc:date>2025-09-30T09:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: INVALID_CLIENT: Insecure redirect URI, using custom URI</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/7239534#M19153</link>
      <description>&lt;P&gt;I've had the same app for about 5 years doing auth fine. Then today I cleaned up old redirects on the Spotify dashboard _and then_ their system flagged me as having insecure redirects and the one that was working yesterday now fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;I used the link @Socrapop posted above and changed from `http://localhost:8888` to `http://127.0.0.1:8888`.&amp;nbsp;The dashboard errored out saying "something went wrong" and wouldn't let me save the changes. Looking at network activity it showed the same error.&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;So, I had to delete the localhost entry so only the loopback address was there and it saved. After that now, it's working fine again.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 03:53:47 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Insecure-redirect-URI-using-custom-URI/m-p/7239534#M19153</guid>
      <dc:creator>ackmanx</dc:creator>
      <dc:date>2025-11-28T03:53:47Z</dc:date>
    </item>
  </channel>
</rss>

