mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #806] Authentication fails with 403 Forbidden due to ignored/invalid client_id even after clean reinstall #478
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#478
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 @luizpassaroni on GitHub (Aug 23, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/806
Describe the bug
The application fails to load any user data (playlists, albums, etc.) after a successful browser login, even after a complete "from scratch" reinstall. The UI remains empty and eventually crashes or errors out.
The root cause appears to be that the application's authentication request to Spotify's
keymasterendpoint is using a defaultclient_idthat is consistently rejected with a403 Forbiddenerror.This issue persists even when a custom
client_idandclient_secretare correctly configured inapp.toml. Previous logs showed that the application would load the customclient_idfrom the config file but still use the hardcoded default ID in the actual API request, indicating the configuration is being ignored at the authentication level.Steps to Reproduce
brew uninstall,rm -rf ~/.config/spotify-player,rm -rf ~/.cache/spotify-player).spotify-playerusing Homebrew.app.tomlwith a valid, personalclient_idandclient_secretfrom the Spotify Developer Dashboard.Redirect URI(http://127.0.0.1:8989/login) is set in the Spotify App settings.spotify-player.403 Forbiddenerror.Expected behavior
The application should use the configured credentials, successfully retrieve an auth token, and load the user's library.
Actual behavior
The application fails to authenticate with Spotify's backend, resulting in an empty UI and preventing any use of the application.
Environment
Logs
This log is from a fresh run after a complete reinstallation. All sensitive data has been redacted.
@luizpassaroni commented on GitHub (Aug 23, 2025):
Closing this as a duplicate of issue #802