Spiderpig86 / spottr

:cactus: Your Spotify stats all in one place.
https://spottr.vercel.app
47 stars 2 forks source link

spotify api invalid redirect uri #16

Open DivjotRulez opened 2 years ago

DivjotRulez commented 2 years ago

when hosting on a local server

i get error from the spotify api

INVALID_CLIENT: Invalid redirect URI

obrenoalvim commented 1 year ago

I had this same problem recently, just create a spotify account and put your information in an .env file. Preferably delete additional comments as well. In the account settings, you must specify the locations where you will be redirected after logging in with spotify (http://localhost:3000 is the default port for Next.js)