spot4e
spot4e copied to clipboard
authorization doesn't seem to work
when I run spot4e-authorize I get sent to a web page that simply says, "Illegal redirect_uri".
Hi cremacs, thank you for taking the time to point out this issue.
Unfortunately I can't seem to reproduce this error on my machine.
I did some research as to what may be causing it, and I found this, which suggests that the redirect uri must be white-listed, which has already been taken care of.
The redirect uri is https://spotify.com, and this is white-listed. My only thought is that your browser might be redirecting you to spotify with a different TLD (top level domain), for example if you're in a different country.
Can I ask which country you're running the code from?
Thanks for your response. I'm in the United States.
Hi chiply, I'm getting the same issue (also US based). I've verified that "https://spotify.com" is being hexified properly in the authorization uri, but I'm not sure what else to check.
Hi all - reopening this issue as it seems I closed prematurely! A fix is in the works, hold tight :-). Out of curiosity, John, are you using emacs in the terminal of GUI?
I'm on GUI, but just checked the terminal and I'm getting the same error. Thanks for taking a look!
Hey, I just merged a pull request that changed the way the auth url is encoded (this was from @christoofar, not sure why he isn't showing up as a contributor, or why this isn't tagging him properly). It should work properly now, can you both check?
See this commit https://github.com/chiply/spot4e/commit/1f9407b5ab1cb4857c092d279c6c36b9bdf64f2b
Still getting an illegal redirect_URI on my end. Hard to tell just from the URI what the issue is -- I'll hunt around in Spotify docs later this week and see if I can find a problem. Thanks for taking a look!