Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rwjack opened this issue Aug 20, 2024 · 4 comments
Closed

Comments

@rwjack
Copy link

rwjack commented Aug 20, 2024

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
Copy link

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
Copy link
Member

What.

@rwjack
Copy link
Author

rwjack commented Aug 21, 2024

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
Copy link
Author

rwjack commented Aug 21, 2024

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...

@rwjack rwjack closed this as completed Aug 21, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants