Hi all, I am trying to setup the fitbit component and have followed the directions here:
I am getting the error
The app you’re trying to connect did not provide valid information to Fitbit. Please report this issue to them.
Developer information: invalid_request - Invalid redirect_uri parameter value
On the last step.
Currently my HA is behind Nginx which has SSL and forwards the connection from 443 to 8123 on the HA host.
I hit this same issue. I noticed the redirect_uri being emitted from Home Assistant included the port, while the URL provided by the configuration step didn’t.
I updated the application callback URL on the FitBit side of the application setup to include 443 and it work. So i.e. https://myhost.com:443/api/fitbit
As I do not want to expose my hass.io to the real internet, could you tell me how to change the callback url to somewhere else ?
As example I have an internet page and I placed it there (I did similar approach for nibeUplink scripts)
I’m getting the same issue after making my selections and hitting the “allow” button on the fitbit site. The home assistant server throws this error when redirected from the authorisation page.
I managed to get the fitbit component working with this workaround. Note that the file structure has changed since the original post but the updated details are included at the bottom of the post.