google oauth connection problem due to a problem when placing my Authorized redirect URIs
To give context, I am using the Self-Hosted version of n8n at the latest version. I am using this to connect for Google Sheet.
Thanks for the Help, i TRIED SEARCHING THE OTHER FORUMS, but I didnt see smth related to this…if there was, then sorry.
The Error is:
Invalid Redirect: must end with a public top-level domain (such as .com or .org). Invalid Redirect: must use a domain that is a valid top private domain.
This is not an n8n problem but a restriction put in place by Google. Google simply doesn’t accept an IP of 172.17.128.1 as the redirect destination.
Seeing this appears to be a docker IP, is there a chance you are running n8n on the machine you are trying to authenticate with? I am asking because Google would accept http://localhost:5678 instead, in case you have your n8n instance running locally and can access n8n through this:
If that’s not it you would have to set up a public domain name for your n8n instance (and make sure to let n8n know by setting the WEBHOOK_URLenvironment variable).