<?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: Authentication Flow not working for RedirectUri created with expo-auth-session in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Authentication-Flow-not-working-for-RedirectUri-created-with/m-p/6653476#M16614</link>
    <description>&lt;P&gt;I am also using the same things you mentioned but my issue is I see Spotify login screen where it says agree or cancel means my development build is working correctly but when I press agree the Chrome tab doesn't redirect me back to my app it just stays their and because of that the authentication response returns null&lt;/P&gt;&lt;P&gt;With expo go app it work fine and takes me back to my app with auth code&lt;/P&gt;&lt;P&gt;Maybe possible fix for you is try&amp;nbsp;&lt;/P&gt;&lt;P&gt;console.log(makeRedirectUri({})) don't put anything inside the braces&amp;nbsp;&lt;/P&gt;&lt;P&gt;In output you will probably se you scheme then put that scheme as it in Spotify dashboard&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if know about anything why Chrome tab is not closing (my problem) please reply on this&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 00:38:12 GMT</pubDate>
    <dc:creator>SakshamLol</dc:creator>
    <dc:date>2025-01-15T00:38:12Z</dc:date>
    <item>
      <title>Authentication Flow not working for RedirectUri created with expo-auth-session</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authentication-Flow-not-working-for-RedirectUri-created-with/m-p/6436629#M15241</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing an app that uses spotify web api with react-native expo. In particular, for the authentication flow, I am using the `makeRedirectUri` from the '&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;expo-auth-session' package. On local development, this redirect_uri looks something like:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;exp://192.168.1.22:8081, and it works without a problem.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, when I build the app and launch it on my phone, the redirect_uri looks something like `musync://` (which is expected, this uri redirects back to my app). This uri is whitelisted but I still get error:&lt;BR /&gt;&lt;BR /&gt;INVALID_CLIENT: Invalid redirect URI&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How can I solve this?&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Oct 2024 13:22:52 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authentication-Flow-not-working-for-RedirectUri-created-with/m-p/6436629#M15241</guid>
      <dc:creator>MartinAlejandre</dc:creator>
      <dc:date>2024-10-14T13:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication Flow not working for RedirectUri created with expo-auth-session</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Authentication-Flow-not-working-for-RedirectUri-created-with/m-p/6653476#M16614</link>
      <description>&lt;P&gt;I am also using the same things you mentioned but my issue is I see Spotify login screen where it says agree or cancel means my development build is working correctly but when I press agree the Chrome tab doesn't redirect me back to my app it just stays their and because of that the authentication response returns null&lt;/P&gt;&lt;P&gt;With expo go app it work fine and takes me back to my app with auth code&lt;/P&gt;&lt;P&gt;Maybe possible fix for you is try&amp;nbsp;&lt;/P&gt;&lt;P&gt;console.log(makeRedirectUri({})) don't put anything inside the braces&amp;nbsp;&lt;/P&gt;&lt;P&gt;In output you will probably se you scheme then put that scheme as it in Spotify dashboard&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if know about anything why Chrome tab is not closing (my problem) please reply on this&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 00:38:12 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Authentication-Flow-not-working-for-RedirectUri-created-with/m-p/6653476#M16614</guid>
      <dc:creator>SakshamLol</dc:creator>
      <dc:date>2025-01-15T00:38:12Z</dc:date>
    </item>
  </channel>
</rss>

