redirect_uri error
Closed this issue · 5 comments
lgwapnitsky commented
similar to #286 , I'm getting the same error. I've checked my JWT files, recreated the google action, created new credentials, etc. The service run successfully, but oauth is causing issues.
partial jwt config:
{
"type": "service_account",
"project_id": "nodered-372211",
"private_key_id": "c3ca0a0120
The URL it's trying to access:
redirect_uri https://oauth-redirect.googleusercontent.com/r/nr-gsmarthome-9705 invalid
lgwapnitsky commented
lgwapnitsky commented
Oddly, the above works when I go to the local http uri for /check, but not through my external domain. I'm port-forwarding port 3001 to my system via an https connection using haproxy in opnsense
lgwapnitsky commented
turns out I had to disable ssl offloading and put the certs in the config instead. working now
lgwapnitsky commented
Re-opening.
Can't log in from Google Home app
{
"insertId": "1os3ihbg17choan",
"jsonPayload": {
"syncLog": {
"syncs": [
{
"requestId": "9439016925581681183",
"status": "BACKEND_FAILURE_URL_ERROR",
"httpLatencyMsec": "202"
}
]
}
},
"resource": {
"type": "assistant_action_project",
"labels": {
"project_id": "nr-gsmarthome-9705"
}
},
"timestamp": "2022-12-21T12:26:36.506521190Z",
"severity": "ERROR",
"logName": "projects/nr-gsmarthome-9705/logs/assistant_smarthome%2Fassistant_smarthome_logs",
"receiveTimestamp": "2022-12-21T12:26:36.506521190Z"
}
Not sure what the backend URL issue is. I'm not setting any paths
lgwapnitsky commented
Fixed. Typo in the actions url