Why my n8n "OAuth Redirect URL" does not appear?

I am try to setting up my Google sheets or anything else but somehow during OAuth2 API setup “OAuth Redirect URL” does not appear, instead “allowed HTP Request Domains” appear… what did i do wrong? Please help..

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

The issue is that the “OAuth Redirect URL” field is not showing up in your n8n OAuth2 setup. This is because you’re likely using an older version of n8n. The “Allowed HTTP Request Domains” field is used instead in newer versions.

To get the redirect URL, you’ll need to use the URL of your n8n instance. If you’re running n8n locally, it’ll likely be `http://localhost:5678/\`. You’ll then need to enter this URL in your Google Cloud Console when setting up your OAuth credentials.

1 Like

Hi Tan

If you’re using n8n cloud, you can leave this field empty as the OAuth setup is pre-configured, and the callback URL is fixed for that configuration.

Google OAuth2 single service | n8n Docs

2 Likes