[GH-ISSUE #1014] Issue after entering Client Secret #450

Open
opened 2026-02-28 14:49:14 +03:00 by kerem · 0 comments
Owner

Originally created by @rjcab on GitHub (Aug 29, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/1014

Hello,

First, thank you for this projet, impatient to get it worked.
I am on Ubuntu and I followed this:

snap install spt
then this:

Go to the Spotify dashboard
Click Create an app
You now can see your Client ID and Client Secret
Now click Edit Settings
Add http://localhost:8888/callback to the Redirect URIs
Scroll down and click Save
You are now ready to authenticate with Spotify!
Go back to the terminal
Run spt
Enter your Client ID
Enter your Client Secret
Press enter to confirm the default port (8888) or enter a custom port

After that, I got the folowing error:

Enter port of redirect uri (default 8888):

user-open error: dial unix /run/user/1000/bus: connect: permission denied
Error Custom { kind: Other, error: "return code 1" };Please navigate here ["https://accounts.spotify.com/authorize?client_id=xxxx&redirect_uri=http:%2F%2Flocalhost:8888%2Fcallback&response_type=code&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&state=3B1BMFCmoFK51U5u&"] 

Then I take another computer as on my ubuntu only terminal, no desktop and it says:

localhost does not allow connection.

Do you have an idea ?

Many thanks

Originally created by @rjcab on GitHub (Aug 29, 2022). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/1014 Hello, First, thank you for this projet, impatient to get it worked. I am on Ubuntu and I followed this: `snap install spt` then this: Go to the [Spotify dashboard](https://developer.spotify.com/dashboard/applications) Click Create an app You now can see your Client ID and Client Secret Now click Edit Settings Add http://localhost:8888/callback to the Redirect URIs Scroll down and click Save You are now ready to authenticate with Spotify! Go back to the terminal Run spt Enter your Client ID Enter your Client Secret Press enter to confirm the default port (8888) or enter a custom port After that, I got the folowing error: Enter port of redirect uri (default 8888): ``` user-open error: dial unix /run/user/1000/bus: connect: permission denied Error Custom { kind: Other, error: "return code 1" };Please navigate here ["https://accounts.spotify.com/authorize?client_id=xxxx&redirect_uri=http:%2F%2Flocalhost:8888%2Fcallback&response_type=code&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&state=3B1BMFCmoFK51U5u&"] ``` Then I take another computer as on my ubuntu only terminal, no desktop and it says: **localhost does not allow connection.** Do you have an idea ? Many thanks
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#450
No description provided.