home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.74k stars 30.46k forks source link

Token request for spotify_xxx failed (invalid_grant): Refresh token revoked #124333

Closed rwjack closed 2 months ago

rwjack commented 2 months ago

The problem

They're doing iiiiiiiiiiiiiiit agaiiiiin.

It seems sp_dc and sp_key don't work for logging in anymore.

What version of Home Assistant Core has the issue?

it's not us it's them

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

spotify

Link to integration documentation on our website

https://www.home-assistant.io/integrations/spotify/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @frenck, @joostlek, mind taking a look at this issue as it has been labeled with an integration (spotify) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `spotify` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign spotify` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


spotify documentation spotify source (message by IssueLinks)

joostlek commented 2 months ago

What.

rwjack commented 2 months ago

Logging in my browser, getting sp_dc and sp_key from my cookies, pasting them in as HA secrets, doesn't work to log me in.

Logger: homeassistant.helpers.config_entry_oauth2_flow
Source: helpers/config_entry_oauth2_flow.py:220
First occurred: 11:14:03 AM (12 occurrences)
Last logged: 11:24:42 AM
Token request for spotify_xxx failed (invalid_grant): Refresh token revoked

They're doing it again, as in the wise decision makers over at Spotify are fucking things up that used to work without issue.

rwjack commented 2 months ago

My bad, I got a bit confused there. sp_dc and sp_key are used for spotcast.

Spotify triggered a forced password reset for my account (again), so I just needed to re-authorize the integration...