You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i access the URL generated by get_credentials.py and check all permissions and click Continue i get redirected to a URL like http://localhost:8080/?state=rYmM5PTvl7MbN... and the script will not generate a .google_fit.token. When i check the generated URL, there is a "redirect_uri" parameter which specifies the localhost:8080.
Did i miss something in the configuration?
// Edit:
I found, that in the credentials.json the "redirect_url" to localhost is specified. I changed it to my external HA domain, but then Google gives the error "Redirect URI mismatch".
The text was updated successfully, but these errors were encountered:
if you're doing this over SSH then you can forward the 8080 port from the remote machine to the local one, this will allow the redirect URL to pass back through to the remote system.
When i access the URL generated by
get_credentials.py
and check all permissions and clickContinue
i get redirected to a URL likehttp://localhost:8080/?state=rYmM5PTvl7MbN...
and the script will not generate a.google_fit.token
. When i check the generated URL, there is a "redirect_uri" parameter which specifies thelocalhost:8080
.Did i miss something in the configuration?
// Edit:
I found, that in the credentials.json the "redirect_url" to localhost is specified. I changed it to my external HA domain, but then Google gives the error "Redirect URI mismatch".
The text was updated successfully, but these errors were encountered: