Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: failed Spotify’s API setup - Invalid client: Invalid URI #886

Open
aleksanderwalczuk opened this issue Sep 15, 2021 · 4 comments
Open

Comments

@aleksanderwalczuk
Copy link

aleksanderwalczuk commented Sep 15, 2021

Hi there 👋

I got stucked during configuration process. I was basically copy-pasting the documentation, but it took me about 2 hours to pass the whitelisting tui's url.
What I've noted is:

  • when I clicked the generated url to open it in the browser it was it was incomplete in the browsers tab, like cut in half. This was seen on Visual Studio Code integrated terminal on Mac OS 10.15, fixed when I've switched to different terminal emulator (iTerm2) it worked fine
  • other API data (client_id, client_secret) was fine
  • generated callback url contains the redirect_uri parameter pointing to http://localhost:8888

Solved by whitelisting both http://localhost:8888 and http://localhost:8888/, worked as a charm.

Hope it saves some of your time, gl

tui installed via brew on OSX 10.15.7

@benfrain
Copy link

Same issue here. When you say 'whitelist' – are you just adding them to /etc/hosts/?

@aleksanderwalczuk
Copy link
Author

aleksanderwalczuk commented Sep 24, 2021

@benfrain you have to whitelist it on the Spotify WebAPI side:

  1. log into https://developer.spotify.com/dashboard/applications
  2. Create an App or pick existing
  3. Click Edit Settings button and find Redirect URIs
  4. Add whitelisted URIs below

@benfrain
Copy link

Thanks @aleksanderwalczuk up and running now 👍

@hejtlo0p
Copy link

hejtlo0p commented Aug 8, 2022

I had my http://"IP address":8888 instead of http://localhost:8888 🤦

Thanks! That did the trick! xD <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants