[GH-ISSUE #486] INVALID_CLIENT: Invalid redirect URI #201

Closed
opened 2026-02-28 14:47:42 +03:00 by kerem · 7 comments
Owner

Originally created by @Firoda on GitHub (Jun 4, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/486

Every time I try to install the spt and then enter the client ID and secret, it shows the link which on clicking is an invalid URI. Also, I did change the settings in the Spotify Dashboard but it still returns an invalid URI

I have tried changing the port number too.
My System -> Ubuntu 16.04LTS

Originally created by @Firoda on GitHub (Jun 4, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/486 Every time I try to install the spt and then enter the client ID and secret, it shows the link which on clicking is an invalid URI. Also, I did change the settings in the Spotify Dashboard but it still returns an invalid URI I have tried changing the port number too. My System -> Ubuntu 16.04LTS
kerem closed this issue 2026-02-28 14:47:43 +03:00
Author
Owner

@dimlucas commented on GitHub (Jun 11, 2020):

This worked for me on Powershell 5

Spotify App Dashboard > Edit Settings > Redirect URIs
and add http://localhost:8888/callback

Don't forget to scroll down and click save.

8888 is the default port selected by spotify-tui.

Also if you enter the URL without the /callback part, it won't work

<!-- gh-comment-id:642617201 --> @dimlucas commented on GitHub (Jun 11, 2020): This worked for me on Powershell 5 Spotify App Dashboard > Edit Settings > Redirect URIs and add `http://localhost:8888/callback` Don't forget to scroll down and click save. 8888 is the default port selected by spotify-tui. Also if you enter the URL without the `/callback` part, it won't work
Author
Owner

@Rigellute commented on GitHub (Jun 29, 2020):

@Firoda does @dimlucas response help you?

Sounds like that should fix it?

<!-- gh-comment-id:651268039 --> @Rigellute commented on GitHub (Jun 29, 2020): @Firoda does @dimlucas response help you? Sounds like that should fix it?
Author
Owner

@vilgotf commented on GitHub (Jun 30, 2020):

Fixed it for me 👍

<!-- gh-comment-id:651808776 --> @vilgotf commented on GitHub (Jun 30, 2020): Fixed it for me :+1:
Author
Owner

@pablodz commented on GitHub (Feb 19, 2021):

So, we need to specify that in README.md
It's solved by adding URI on spotify side not in TUI

<!-- gh-comment-id:782418438 --> @pablodz commented on GitHub (Feb 19, 2021): So, we need to specify that in README.md It's solved by adding URI on spotify side not in TUI
Author
Owner

@macpijan commented on GitHub (Mar 3, 2021):

To me the instructions in README are correct (https://github.com/Rigellute/spotify-tui#connecting-to-spotifys-api) and this could be closed probably.

<!-- gh-comment-id:789507753 --> @macpijan commented on GitHub (Mar 3, 2021): To me the instructions in README are correct (https://github.com/Rigellute/spotify-tui#connecting-to-spotifys-api) and this could be closed probably.
Author
Owner

@Rigellute commented on GitHub (Mar 3, 2021):

Indeed, this is already in the README. If anyone thinks the existing instructions can be improved, please raise a PR!

<!-- gh-comment-id:789556409 --> @Rigellute commented on GitHub (Mar 3, 2021): Indeed, this is already in the README. If anyone thinks the existing instructions can be improved, please raise a PR!
Author
Owner

@markstos commented on GitHub (May 25, 2021):

I ran into this but was confused by Spotify's UI. I had clicked "Save", but it wasn't saving. Eventually I realized I needed to use the "Add" button next to the field.

<!-- gh-comment-id:847880155 --> @markstos commented on GitHub (May 25, 2021): I ran into this but was confused by Spotify's UI. I had clicked "Save", but it wasn't saving. Eventually I realized I needed to use the "Add" button next to the field.
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#201
No description provided.