DEV Community

Discussion on: So I created Spotify Clone in React(kinda)

 
fvukojevic profile image
Ferdo Vukojević

I would suggest you use your own clientId. It is very simple to get at developer.spotify.com/dashboard
RedirectUri gets pulled from window.location.origin so it should work as long as you setup inside your dashboard the same uri your app is hosted on.

So steps would be:
Go to spotify dashboard for developers, create an app, take the clientId and place it inside spotify.js file.
And then inside the spotify dashboard in edit settings, set the redirect url to match the url your app is hosted.

Thread Thread
 
bryanelalami profile image
bryanelalami

It would be great to jump on a call , are you available ?