Repository navigation
Replies: 1 comment
|
It's on the backlog (#1591), and the votes on this thread count. For #1648 it wouldn't change anything, because the speaker already drops its stored login every time you pick the (STR) entry, and an Unlink button would clear that same login. It does help for taking Spotify off a speaker completely, for example before the speaker goes to someone else. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What would you like?
The purpose of this feature is do the user can remove the Spotify feature and clean up the Spotify related config files so that the user is not stuck in case they are left in a state where SoundTouch Reborn is using stale/bad tokens for Spotify account.
The Bose SoundTouch App used to give the user to unlink the Spotify content service from their speakers. I am asking for the same functionality. The below is my attempt to explain this feature.
A developer can easily write code to delete the local configuration file from your MacBook's filesystem. When a user clicks an "Unlink" button in the UI, the application executes a backend routine:
• How it works: The software momentarily pauses or stops the active streaming player thread so the database file is no longer locked by the system. It then calls a standard filesystem function (like Node.js fs.unlink(), Python os.remove(), or Swift FileManager.removeItem()) targeting the exact file path inside ~/Library/Application Support/.
• The Result: The file is completely erased, and the application instantly refreshes its internal state to show a clean log-in screen.
Applications do not have to rely on the user manually visiting a website to revoke access. Spotify provides dedicated web API endpoints specifically for managing active sessions.
• How it works: When the "Unlink" action is triggered, the app sends a standard secure HTTP POST request directly to Spotify's authentication servers containing the active session's OAuth token.
• The Result: Spotify’s authentication server receives the request, instantly marks that specific token as invalid, and terminates the active session globally. Any subsequent playback requests using that old token will be immediately blocked by Spotify's servers.
Why would it help you?
No response
All reactions