Closed rokam closed 3 years ago
Hey there @frenck, mind taking a look at this issue as its been labeled with an integration (spotify
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
This is generally caused by a mismatch between the redirect URI you've configured in the application configuration @ the Spotify developer portal and the URL you are actually using in your browser to link the account.
Those need to match.
@frenck I'm using the same URI. I do access my HASSIO using https://my.valid.domain:8123/ so I think that the correct URI is https://my.valid.domain:8123/auth/external/callback
What am I doing wrong?
I've removed the https, now I'm accessing my instance with: http://192.168.0.51:8180/
And my spotify callback url is:
And still I receive an error 500
I found the issue. It was related to an outdated version of urllib3 that is used by spotipy.
The problem
I receive an error 500 after spotify redirect during OAUTH.
My Spotify Redirect URI is: https://my.valid.domain:8123/auth/external/callback and I receive an ERROR 500 after redirect: 500 Internal Server Error Server got itself in trouble
What is version of Home Assistant Core has the issue?
2021.7.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
Spotify
Link to integration documentation on our website
https://www.home-assistant.io/integrations/spotify
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
My HASSIO is running on a py enviroment, behind a nginx proxy for SSL.