First of all, I want to say, great community and great content.
I am trying to access my google accounts using a self-hosted version and I am trying to find the domain of my n8n instance.
How can I allow Google OAuth to authorize my domain?
Sorry for my perhaps newby question.
When you go to add a Google credential it should show the oauth redirect url to use, Normally this would need to be https and using your own domain which would be something you would need to configure outside of n8n then once you have DNS in place you can set the WEBHOOK_URL environment variable to the url you have configured for n8n.
Let me know if you have any other questions on this.
Hi there and thanks for the answer.
That part I know, but in the documentation it states that I should use n8n.cloud in case of cloud architecture, but I am not sure what to place in that domain for my self-hosted.
I tried https://localhost but is it not the real answer.
I think I am over-complicating this step, but no tutorial give me a direction.
Which documentation are you following? You should only worry about n8n.cloud if you are using n8n cloud but you mentioned self hosting so that doesn’t matter in this case.
Using https://localhost is likely to fail, Your self hosted domain would be whatever domain you have purchased and configured to point to the IP of the server you have n8n running on. As an example if you purchased the domain rubcaspac60.com and set up a subdomain for automation.rubcaspac60.com and pointed it to your servers IP say 123.123.123.123 then you would need to make sure you set the n8n environment variable WEBHOOK_URL to https://automation.rubcaspac60.com
If you don’t have a domain you could look at using a tunnel service like ngrok or cloudflare instead.