Describe the problem/error/question
I have the latest version of n8n running in a docker container on localhost:5678
I have used this OAuth Redirect URL in the Google Auth: http://localhost:5678/rest/oauth2-credential/callback
What is the error message (if any)?
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
I am not using any firewalls.
I a not a developer just followed the steps in the tutorial and guides.
n8n version: Version 1.84.1
Database (default: SQLite): default
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app): npm
Operating system: Ubuntu22.04
Hi, did you set the allowed domains ?
Reg,
J
Hi, how do I set up allowed domains? I am deploying n8n in a local server.
Hi, it’s one of the options to configure when you setup oauth on google. similar location where you enter your oauth callback.
reg,
J.
Hi, do you mean Authorized redirect URIs?I have put http://localhost:5678/rest/oauth2-credential/callback in to Authorized redirect URIs. Also, I gave n8n a domain name using the cpolar service. I can access the n8n service locally via both localhost:5678 and this domain. I saw that someone said it was a webhook issue, and I want to try to replace the OAuth Redirect URL in n8n with the domain name, how do I do that?
its the authorized origins you need to check
1 Like
no problem. if it solved your problem, pls mark as solution.
Hi, my problem is still not solved.
Sorry, not sure then. maybe somebody else has a clue
system
Closed
April 14, 2025, 5:19am
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.