This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/Zi05 on 2026-06-18 08:46:42+00:00.
Just received this email from Spotify. I guess this will affect the Music Assistant integration and others as well. Not a huge problem but it will probably be the reason the integration stops working the next time ๐
"""""""
Hi,
Further to the updates posted on our Developer Blog on June 18, 2026, we're writing to let you know that, starting July 20, 2026, refresh tokens issued by your Spotify app will expire after six months.
This change applies to all apps registered on Spotify for Developers, including yours.
What this means for your app: Once a refresh token expires, attempts to use it to obtain a new access token will return an invalid_grant error. Your app must handle this case by discarding the stored token and sending the user through the sign-in flow again to obtain a new one.
What you need to do:
Handle invalid_grant errors: Make sure your app handles invalid_grant errors on token refresh by redirecting users to sign in again.
Discard expired tokens: Do not retry a failed refresh โ discard the stored token first.
Test your reauthorization flow: Test your app's reauthorization flow before July 20, 2026 to avoid disruption for your users.
Note: This change does not affect Client Credentials flows. Only tokens issued on behalf of a user are impacted.This change does not affect Client Credentials flows. Only tokens issued on behalf of a user are impacted.
"""""