Host: loopback listener for Spotify playback login #87

Closed
opened 2026-10-16 17:04:01 +02:00 by SBDeveloper · 1 comment
Owner

Part of #85

For the librespot backend only. The playback credential must be minted with Spotify's own client ID, which accepts loopback redirects only (http://127.0.0.1:<port>/login). The host needs a short-lived loopback listener a plugin can request during login, with a paste-back fallback when the browser is on another machine.

See ADR 0021. Acceptance:

  • listener is opt-in per login attempt, bound to 127.0.0.1, closes on result or timeout
  • result is routed to the requesting plugin like the existing LoginCallback
  • works on Windows, macOS and Android
Part of #85 For the librespot backend only. The playback credential must be minted with Spotify's own client ID, which accepts loopback redirects only (`http://127.0.0.1:<port>/login`). The host needs a short-lived loopback listener a plugin can request during login, with a paste-back fallback when the browser is on another machine. See ADR 0021. Acceptance: - listener is opt-in per login attempt, bound to 127.0.0.1, closes on result or timeout - result is routed to the requesting plugin like the existing `LoginCallback` - works on Windows, macOS and Android
Author
Owner

Implemented and merged on integration branch spec/85-spotify-source (not pushed yet). See merge commit 'Merge #87' in its history.

Implemented and merged on integration branch `spec/85-spotify-source` (not pushed yet). See merge commit 'Merge #87' in its history.
Sign in to join this conversation.
No milestone
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.

Reference
SBDeveloper/medley#87
No description provided.