-
Notifications
You must be signed in to change notification settings - Fork 187
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
Used to be able to auth with player, now no longer can. #414
Comments
Upon looking through the issue list from the Spotify forum, it appears that the URI redirect was suddenly no longer accepted today: https://community.spotify.com/t5/Spotify-for-Developers/User-Authorization-failing-in-production/m-p/5956550 According to this issue (posted 37 minutes ago as of writing), the word I am honestly quite hazy on this whole redirect URI thing, but perhaps it could be helpful to you to figuring out a solution. To be sure, I would imagine that when your app redirects to open the Spotify app, you see briefly a "X" flash before redirecting back to your app? |
awesome! I'll go take a look and see if that fixes it for me. (and I wonder if this new restriction was communicated somewhere...) |
Nowhere as far as I am aware of. These things tend to just happen suddenly and everyone is left scrambling. |
Can confirm, I just updated my prod apps, and by adding I am also refreshing the tokens via a backend, and note that if you are using config variables, you must also update it to Hope this helps. |
Adding |
@litvakle There was a post about this issue on the Spotify forums (https://community.spotify.com/t5/Spotify-for-Developers/User-Authorization-failing-in-production/m-p/5956550) and the person noted in passing about a redirect URI featuring Edit: specifically, the person noted We've already added a new RedirectURI mixonset://spotify although it seems not to have taken effect yet. That was my hint to append |
I'd love to recommend adding Spotify to our clients, but breaking changes like this make the company feel more like a fly-by-night startup than an established enterprise. :( Hopefully they'll learn from this and announce/migrate changes like this in the future. |
My app has been working well until today. I do
authorizeAndPlayURI
, the Spotify app comes forward, shows an "X", returns to my app, but did not authorize. I get these two errors. The Spotify app is installed, and it does play music. There are no complaints in the developer console. There is no email communication from the developer program saying we've been delisted. Happens with the Spotify app prior to the March 4 update, as well as that version.AppRemote: Failed connection attempt with error: Error Domain=com.spotify.app-remote.transport Code=-2000 "Stream error." UserInfo={NSLocalizedDescription=Stream error., NSUnderlyingError=0x2829a6bb0 {Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSLocalizedRecoverySuggestion=Reconnect the transport to the Spotify app., NSLocalizedFailureReason=A stream error has occured in the transport.}
2024-03-20-14:20:33.54-AppDelegate.swift:58 - 2055 - spotify didFailConnectionAttemptWithError Optional(Error Domain=com.spotify.app-remote Code=-1000 "Connection attempt failed." UserInfo={NSLocalizedDescription=Connection attempt failed., NSUnderlyingError=0x2829a6a00 {Error Domain=com.spotify.app-remote.transport Code=-2000 "Stream error." UserInfo={NSLocalizedDescription=Stream error., NSUnderlyingError=0x2829a6bb0 {Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSLocalizedRecoverySuggestion=Reconnect the transport to the Spotify app., NSLocalizedFailureReason=A stream error has occured in the transport.}}, NSLocalizedRecoverySuggestion=Ensure the Spotify app is installed, and try to reconnect., NSLocalizedFailureReason=Could not connect to the Spotify app.})
Thanks!
++md
The text was updated successfully, but these errors were encountered: