Errors because it forces localhost

Describe the problem/error/question

Hello,
When I’m trynig to create a workflow that require Google Sheets, the “OAuth Redirect URL” field is filled by a localhost address, so when I sign in with my Google account to validate, there’s an error because Google can’t reach it

(I installed it via Cosmos.cloud)

What is the error message (if any)?

#[details=“instance information”]

Debug info

core

  • n8nVersion: 1.112.6

  • platform: docker (self-hosted)

  • nodeJsVersion: 22.19.0

  • database: postgres

  • executionMode: regular

  • concurrency: -1

  • license: enterprise (production)

storage

  • success: all

  • error: all

  • progress: false

  • manual: true

  • binaryMode: memory

pruning

  • enabled: true

  • maxAge: 336 hours

  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64; rv:143.0) gecko/20100101 firefox/143.0

  • isTouchDevice: false

Generated at: 2025-09-28T08:55:04.418Z}
[/details]

What is the error specifically you are seeing.
Google is not trying to connect to the url, whether it is localhost or not, that is not how OAuth works. Please share a screenshot of the error and we can figure this out together.


Here’s the error I get

How do you usually access n8n? Which url?

It’s ok, I missconfigured the host in Cosmos.io

My bad

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.