Rigellute / spotify-tui

Spotify for the terminal written in Rust 🚀
MIT License
17.21k stars 519 forks source link

Invalid redirect URI #904

Open piotr-placzek opened 2 years ago

piotr-placzek commented 2 years ago

During first (and next) application starts I have message in terminal

Opened https://accounts.spotify.com/authorize?client_id=03325074d8054bd6b8a330c2f4c2c748&scope=playlist-read-collaborative%20playlist-read-private%20playlist-modify-private%20playlist-modify-public%20user-follow-read%20user-follow-modify%20user-library-modify%20user-library-read%20user-modify-playback-state%20user-read-currently-playing%20user-read-playback-state%20user-read-playback-position%20user-read-private%20user-read-recently-played&redirect_uri=http:%2F%2Flocalhost:8888%2Fcallback&response_type=code&state=Hgf0CvqQzSAfqJD7& in your browser

and in browser:

INVALID_CLIENT: Invalid redirect URI
odincat commented 2 years ago

Make sure that you added http://localhost:8888/callback to the redirect URLs in the Spotify Dashboard. (https://github.com/Rigellute/spotify-tui#connecting-to-spotifys-api)

EnderKiwi commented 2 years ago

I had this same problem and my issue is that I am slow and am bad at reading. Instead of https like I had its just http. That simple letter fixed EVERYTHING

Self-Perfection commented 2 years ago

image I had the same issue until I figured out that one have to press "Add" before he presses "Save". It was not cleat that Redirect URIs is a list and not a just a text input field :man_facepalming: