[GH-ISSUE #904] Invalid redirect URI #387

Open
opened 2026-02-28 14:48:50 +03:00 by kerem · 3 comments
Owner

Originally created by @piotr-placzek on GitHub (Oct 5, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/904

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
Originally created by @piotr-placzek on GitHub (Oct 5, 2021). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/904 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 ```
Author
Owner

@odincat commented on GitHub (Oct 5, 2021):

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)

<!-- gh-comment-id:934575828 --> @odincat commented on GitHub (Oct 5, 2021): 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)
Author
Owner

@EnderKiwi commented on GitHub (Oct 7, 2021):

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

<!-- gh-comment-id:937731386 --> @EnderKiwi commented on GitHub (Oct 7, 2021): 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
Author
Owner

@Self-Perfection commented on GitHub (Nov 1, 2021):

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 🤦‍♂️

<!-- gh-comment-id:956793979 --> @Self-Perfection commented on GitHub (Nov 1, 2021): ![image](https://user-images.githubusercontent.com/3757038/139751758-4788f13f-6e78-4604-9476-b6dcbaa87c6d.png) 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:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#387
No description provided.