Closed ianaitch closed 2 years ago
(Yeah, the editor here just fiddled with my URL shown above because I tried to replace my URL with
Hi,
Did you already found a fix? I have the same problem.
Thanks in advance!
Hey, I have the same problem. May you can help not only one, but directly two, who searches for help ;D
Best regards
Hey! Sorry you've been having trouble with this.
A similar issue was mentioned in #27.
Are any of you able to confirm if this persists after redeploying when you add your keys in?
Hi,
That did the trick! Thank you!
At first thanks for the fast support 🥇 Now I have the error message
INVALID_CLIENT: Invalid redirect URI
after clicking on the Log In Button. I´ve added the client key and secret to netflify an deployed it as you describe in #27
Thanks in advance!
That error means that your redirect URI is incorrect.
You need to add the URL of your app within My Applications on Spotify. This is described in the instructions in the dashboard.
The URI must match your own apps URL exactly.
Thank you, now it works. I deleted the uri in spotify and copyed it again, now it works. ♥
Great! Thank you. Closing this.
Hi,
I'm kind of new to some of this, so I may have made a dumb error.
I forked Nowify, deployed into Netlify, set up the spotify developer app, copied the client id and secret environment variables into Netlify environment settings. Also copied the URL of my app in Netlify into the redirect URI in the Spotify app. When I go to the Netlify URL I see the correct page But every time I get this error after clicking login :-
It looks like I log in, authenticate and then fail.
The URL returned from Spotify is "https://accounts.spotify.com/authorize?client_id=undefined&response_type=code&redirect_uri=https%3A%2F%2F.netlify.app&state=uecd1nl93p6-o8fv91wagf-q3nxdwgkp-fsqelse9&scope=user-read-currently-playing
I looked at the other two issues where Invalid Client was mentioned and neither seemed to give a clue. Any ideas what I missed? I see that Client_Id is blank in the URL above.
All help always gratefully received!