Announcements

Help Wizard

Step 1

NEXT STEP

How to solve the INVALID_CLIENT: Invalid redirect URI error

How to solve the INVALID_CLIENT: Invalid redirect URI error

My Question or Issue

 

I have made a Spotify clone with react integrated with the Spotify Api. The app only has a client side I have deployed the app to netlify.

 

Upon pressing the login button on the homepage, the get request is sent to the API to authorise the user trying to login. However, on the deployed app, the response sent back is always the INVALID_CLIENT: Invalid redirect URI error.

 

I have made sure that the whitelisted redirect URI in my dashboard is exactly the same as the redirect URI parameter set in my code. This error only persists with the deployed app netlify, when I was using the localhost:3000 url as the redirect during the development, the auth process worked perfectly.

 

Is there any advice someone can provide to solve this problem?

 

Please advise if any further info is needed to help.

 

 

 

Reply
0 Replies

Suggested posts