I am making an application which contain spotify integration, I was followed this link https://developer.spotify.com/technologies/spotify-android-sdk/tutorial/
by the reference of this link I was put "festevo://callback" as callback redirect URI
when I was trying login into spotify every time I was getting same error.
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="callback"
android:scheme="festevo" />
Please tell me why this happen...
Thank you.
When you reach the page that says Invalid redirect URI, check the address bar for the redirect_uri that is trying to be authenticated. in my case, it was my localhost ip so i added that to the spotify configuration and that fixes my issue. This fixed it!! This also worked for me… Hello, I have a different problem with the integration of Spotify…
If still the error occurs simply delete the Spotify app in the dashboard and recreate the new app with a new client id. This thing solved my problem. Sorry, something went wrong. Ya thanks everyone!
In the particular case of authorization_code, the callback is taking care of by the context of your localhost, in specific by a express route defined as http://localhost:8888/callback. In your spotify developer dashboard, the redirect URI needs to be defined as http://localhost:8888/callback.
Navigate to your Spotify developer dashboard and open the project you are working on. Next click "edit settings" and look for the redirect URIs field. Put your redirect URI in the field. ex: http://localhost:8888/callback Click save. First. You have to be sure that you're using app.js from authorization_code directory. Second.
I see a couple of possible things that could've gone wrong:
Hope this solves your issue!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With