I’m using a Cloudflare tunnel to reach a locally-running docker-compose setup, and I’m having a trouble with OAuth redirect_uri “mismatches”.
When setting up the OAuth flow on GCP, Google insists on a “top private domain” (cerebruh.is) and seemingly won’t work with the n8n-supplied n8n.cerebruh.is as a valid redirect_uri.
(Using the n8n cloud version, the analogous redirect_uri is https://oauth.n8n.cloud/oauth2/callback)
The redirect uri doesn’t need to be a top level domain and can be a sub domain but the the redirect uri does need to be using https so I would set WEBHOOK_URL to https://n8n.cerebruh.is assuming you are using HTTPS and that should sort it out.