spottr icon indicating copy to clipboard operation
spottr copied to clipboard

spotify api invalid redirect uri

Open DivjotRulez opened this issue 2 years ago • 1 comments

when hosting on a local server

i get error from the spotify api

INVALID_CLIENT: Invalid redirect URI

DivjotRulez avatar Jan 27 '22 17:01 DivjotRulez

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)

obrenoalvim avatar Apr 25 '23 19:04 obrenoalvim