librespot-org / librespot

Open Source Spotify client library
MIT License
4.79k stars 598 forks source link

Authentication on all desktop platforms is broken #1245

Open lmore377 opened 8 months ago

lmore377 commented 8 months ago

Describe the bug Attempting to start Spotify Connect from any desktop client results in 403 errors, similar to issue #1179. If started from android or iOS, authentication works fine. If librespot is given credentials with -u and -p then desktop clients work but only for the logged in user.

To reproduce Steps to reproduce the behavior:

  1. Launch librespot without -u or -p
  2. Connect with any desktop client (Windows, Linux, macOS)
  3. Click play on any song
  4. Console fills with 403 and similar errors

Log This log is from me connecting from a linux client but the output is almost identical to windows & macos. I obfuscated some IDs but the log is otherwise as-is. I ran librespot with -G -H to prevent any issues from caching.

linux.log

Host (what you are running librespot on):

Additional context This issue is fixed by #1220 but I noticed that the PR seems stale. Could I create my own PR with the same changes?

roderickvd commented 8 months ago

Additional context This issue is fixed by #1220 but I noticed that the PR seems stale. Could I create my own PR with the same changes?

Of course, or maybe clone that user's branch, resolve the outstanding review comments and we'd be good to go!