Can’t Log In at Google for Youtube/gmail Node (n8n docker)

Can’t sign In after adding client/secret keys for Youtube, Gmail or Gsheet

Hello,
I have a n8n dockerized on my local machine
The same configuration works well on my n8n cloud.
I already connected successfully a gmail account, but I don’t know why, 2 days after, I don’t have the same behavior.

I use ngrok redirecting the flux

When I try to connect the youtube block I have the error
{“status”:“error”,“message”:“Unauthorized”}

The redirect is http://localhost:5678/rest/oauth2-credential/callback


## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->

## Information on your n8n setup
- **n8n version: 1.39.1
- **Running n8n via Docker + ngrok
- **Operating system: windows

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

I relaunched the ngrok, and the authentification works well now …
Very strange…