mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[GH-ISSUE #169] No prompt redirect URL in terminal during setup #85
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stiansenandreas on GitHub (Nov 26, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/169
After linking me to the authorization site and then being redirected I don't see any new prompts in the terminal setup to paste the redirect URL:
Opened https://accounts.spotify.com/authorize?client_id=......&redirect_uri=http:%2F%2Flocalhost:8888%2Fcallback&scope=playlist-read-collaborative%20playlist-read-private%20user-follow-read%20user-library-modify%20user-library-read%20user-modify-playback-state%20user-read-currently-playing%20user-read-playback-state%20user-read-private%20user-read-recently-played& in your browser
And then nothing.
@Rigellute commented on GitHub (Nov 27, 2019):
Sounds like the auto redirect logic is failing. Could be because your running
spotify-tuivia ssh/on a different machine?What should happen is that when you enter your client credentials, a localhost server is setup and listens for the redirect_uri request to do that step automatically. If your broswer is running on a different machine, the
spotify-tuiserver will just wait forever (needs to be fixed using a timeout to fallback to manual entry).Have a look at this issue to see if it's the same problem you're having.
There is also a workaround for you to try.
@stiansenandreas commented on GitHub (Nov 27, 2019):
Well this is embarrasing, there was a missing character in my hosts file causing localhost not to be recognized, works fine now. I'm on a local desktop but thank you for pointing me in the right direction with networking related issues.
@Rigellute commented on GitHub (Nov 27, 2019):
Thanks @stiansenandreas 👌