I’m having trouble configuring the Spotify integration. The integration is appearing in the UI, but when I go to authorize it, I get an INVALID_CLIENT: Invalid redirect URI error. I think this is caused by the redirect_uri=http://192.168.0.2:8123/auth/external/callback parameter in the URL, which doesn’t match the app settings: https://ha.home.my.domain/auth/external/callback .
Browsing to this URL gives a Missing code or state parameter message, which sounds like the right behaviour. The incorrect address was from an old config, and isn’t valid anymore. I guess it’s cached somewhere but I can’t seem to find where.
Same problem here…
Settings in Spotify Developer App setup is correct, but adding the Spotify Integration from HA results in “INVALID_CLIENT: Invalid redirect URI”. And yes, the redirect URI is “https://MYDOMAIN/auth/external/callback” (not the older settings). Btw, the Spotify integration had been working flawless until a recent HA update broke it…
Anyone had any success fixing this?
https://yourhassinstance:8123/config/core under General add internal and external URL, in my case I had dyndns and SSL enabled, so I had to set both to my external address.
I have a similar problem
My error is: INVALID_CLIENT: Failed to get client
I don’t understand why in the redirect URI I have https://my.home-assistant.io/redirect/oauth. (I specify that I did not modify anything, that it is the domain that the connection link gives me.)
You understand that this is therefore not the right domain.
However, in the settings of my home assistant, I have my domain name.
I specify that in the past the integration functioned.
I am using a duckdns domain name with an NGNX reverse proxy.
Home Assistant is installed on Docker.