<?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 redirect URI after authorization in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5425531#M6016</link>
    <description>&lt;P&gt;Are you sure your website is &lt;A href="https://portfolio.development" target="_blank" rel="noopener"&gt;https://portfolio.development&lt;/A&gt;&lt;SPAN&gt;? When I try to go to that URL, I get a ERR_NAME_NOT_RESOLVED error.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Sep 2022 09:40:31 GMT</pubDate>
    <dc:creator>Ximzend</dc:creator>
    <dc:date>2022-09-04T09:40:31Z</dc:date>
    <item>
      <title>Invalid redirect URI after authorization</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5425401#M6007</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;The Netherlands&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Desktop PC&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 11&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;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to show my current playing song from Spotify on my portfolio, however, after authorizing with Spotify I get the error shown in the attached image. The redirect_uri I use is registered in the developer's dashboard under my application. The only difference in my application is that it adds language codes to the URI, however, I also whitelisted these in the dashboard, and I still get the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also attached a screenshot showing the whitelisted uri's in the dashboard and the route defined in laravel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone has an idea of how i could solve this problem, thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 20:16:24 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5425401#M6007</guid>
      <dc:creator>Kevin_Vink</dc:creator>
      <dc:date>2022-09-03T20:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect URI after authorization</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5425531#M6016</link>
      <description>&lt;P&gt;Are you sure your website is &lt;A href="https://portfolio.development" target="_blank" rel="noopener"&gt;https://portfolio.development&lt;/A&gt;&lt;SPAN&gt;? When I try to go to that URL, I get a ERR_NAME_NOT_RESOLVED error.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2022 09:40:31 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5425531#M6016</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-09-04T09:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect URI after authorization</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5425535#M6017</link>
      <description>&lt;P&gt;Yes, it's a virtual host from laragon and I&amp;nbsp; can go to that domain with no problems.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2022 09:38:53 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5425535#M6017</guid>
      <dc:creator>Kevin_Vink</dc:creator>
      <dc:date>2022-09-04T09:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect URI after authorization</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5426765#M6138</link>
      <description>&lt;P&gt;Sorry I'm answering late.&lt;/P&gt;&lt;P&gt;Can you provide some code you use for your request? The error '400 Bad Request' means there's something wrong with that.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 14:32:28 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5426765#M6138</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-09-07T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect URI after authorization</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5427092#M6171</link>
      <description>&lt;P&gt;I am using&amp;nbsp;&lt;A href="https://socialiteproviders.com/Spotify/" target="_self"&gt;Socialite&lt;/A&gt;&amp;nbsp;as a driver for the authentication, here is the code at the endpoint i use to call the accounts.spotify.com/authenticate endpoint.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spotify.jpg" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/145153i494545B1721C4EB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spotify.jpg" alt="spotify.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can also see in devtools that it calls the /authorize endpoint and redirect to the callback uri:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kevin_Vink_0-1662630256346.png" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/145154i0C0BBF3EAACA1CAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kevin_Vink_0-1662630256346.png" alt="Kevin_Vink_0-1662630256346.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 09:44:32 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5427092#M6171</guid>
      <dc:creator>Kevin_Vink</dc:creator>
      <dc:date>2022-09-08T09:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect URI after authorization</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5427260#M6192</link>
      <description>&lt;P&gt;There's a problem. With Socialite, you can only get basic profile information like id,&amp;nbsp;&lt;SPAN&gt;name, e&lt;/SPAN&gt;&lt;SPAN&gt;mail, a&lt;/SPAN&gt;&lt;SPAN&gt;vatar and p&lt;/SPAN&gt;&lt;SPAN&gt;rofileUrl. It doesn't support scopes or other functionalities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can better use one of these PHP&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/web-api/libraries/" target="_blank" rel="noopener"&gt;Web API Wrappers&lt;/A&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="" href="https://github.com/jwilsson/spotify-web-api-php" target="_blank" rel="noopener"&gt;jwilsson/spotify-web-api-php&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A class="" href="https://github.com/jonjomckay/spotify-web-api" target="_blank" rel="noopener"&gt;jonjomckay/spotify-web-api&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 08 Sep 2022 17:53:15 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Invalid-redirect-URI-after-authorization/m-p/5427260#M6192</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-09-08T17:53:15Z</dc:date>
    </item>
  </channel>
</rss>

