[GH-ISSUE #355] Authentication With SSO or Client Secret #189

Open
opened 2026-03-02 23:45:19 +03:00 by kerem · 6 comments
Owner

Originally created by @kalenmike on GitHub (Feb 4, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/355

I was not able to find anything that answers this in the existing open/closed issues.

I came from spotify-tui which allowed me to authenticate with my custom app id and secret. With spotify-player I am able to configure the client_id and client_port in app.yml but I am still prompted to login (missing secret suppose).

If Spotify is configured only with Single Sign On we do not have access to a password for Spotify.

  1. Is it possible to authenticate with only the app id and secret?
  2. Is there any other alternative to authenticate without entering a password?

Thanks in advance for the help or direction to existing documentation if it exists.

Originally created by @kalenmike on GitHub (Feb 4, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/355 I was not able to find anything that answers this in the existing open/closed issues. I came from [spotify-tui](https://github.com/Rigellute/spotify-tui) which allowed me to authenticate with my custom app id and secret. With `spotify-player` I am able to configure the client_id and client_port in `app.yml` but I am still prompted to login (missing secret suppose). If Spotify is configured only with Single Sign On we do not have access to a password for Spotify. 1. Is it possible to authenticate with only the app id and secret? 2. Is there any other alternative to authenticate without entering a password? Thanks in advance for the help or direction to existing documentation if it exists.
Author
Owner

@aome510 commented on GitHub (Feb 12, 2024):

Currently, the only way to authenticate the application is through "password". I'll explore the client_id/client_port option to see if it's possible to implement one.

Just a note that the client setup works for spotify_tui because it provides much less features than spotify_player, most of them are implemented by https://github.com/librespot-org/librespot.

<!-- gh-comment-id:1937920908 --> @aome510 commented on GitHub (Feb 12, 2024): Currently, the only way to authenticate the application is through "password". I'll explore the `client_id`/`client_port` option to see if it's possible to implement one. Just a note that the client setup works for `spotify_tui` because it provides much less features than `spotify_player`, most of them are implemented by https://github.com/librespot-org/librespot.
Author
Owner

@kalenmike commented on GitHub (Feb 22, 2024):

Awesome thanks! I am currently blocked from using this then unless I am missing something as Spotify does not let me disconnect my social account and switch to an email/password configuration.

I will keep an eye on the progress and check out librespot.

Thanks again!

<!-- gh-comment-id:1960492446 --> @kalenmike commented on GitHub (Feb 22, 2024): Awesome thanks! I am currently blocked from using this then unless I am missing something as Spotify does not let me disconnect my social account and switch to an email/password configuration. I will keep an eye on the progress and check out librespot. Thanks again!
Author
Owner

@aome510 commented on GitHub (Feb 24, 2024):

Awesome thanks! I am currently blocked from using this then unless I am missing something as Spotify does not let me disconnect my social account and switch to an email/password configuration.

I'm pretty sure that Spotify will assign you a username (not email)/password if you connect via social account. You can check your in https://www.spotify.com/account/profile/.

<!-- gh-comment-id:1962615095 --> @aome510 commented on GitHub (Feb 24, 2024): > Awesome thanks! I am currently blocked from using this then unless I am missing something as Spotify does not let me disconnect my social account and switch to an email/password configuration. I'm pretty sure that Spotify will assign you a username (not email)/password if you connect via social account. You can check your in https://www.spotify.com/account/profile/.
Author
Owner

@papa-whisky commented on GitHub (Apr 15, 2024):

@kalenmike you might have figured this out by now but if you go to https://www.spotify.com/account then scroll down to the "Security and privacy" section there is an option to "Edit login methods". You can add an email/password login and also delete the social account login if you want.

<!-- gh-comment-id:2057970854 --> @papa-whisky commented on GitHub (Apr 15, 2024): @kalenmike you might have figured this out by now but if you go to https://www.spotify.com/account then scroll down to the "Security and privacy" section there is an option to "Edit login methods". You can add an email/password login and also delete the social account login if you want.
Author
Owner

@DjTuner13 commented on GitHub (May 14, 2024):

I was able to disconnect my facebook and then reset my password. After that I was able to add that info into the application. I may update the readme to add a bit more about the login to help others. I have always done SSO but this is not bad.

<!-- gh-comment-id:2110531592 --> @DjTuner13 commented on GitHub (May 14, 2024): I was able to disconnect my facebook and then reset my password. After that I was able to add that info into the application. I may update the readme to add a bit more about the login to help others. I have always done SSO but this is not bad.
Author
Owner

@Zexius commented on GitHub (May 15, 2024):

you don't have to remove your SSO if you like to keep it. Create a device password using the link below and you can login using your device password

https://www.spotify.com/sg-en/account/set-device-password/

<!-- gh-comment-id:2112997385 --> @Zexius commented on GitHub (May 15, 2024): you don't have to remove your SSO if you like to keep it. Create a device password using the link below and you can login using your device password https://www.spotify.com/sg-en/account/set-device-password/
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-player#189
No description provided.