oAuth Unauthorized error - docker

Describe the problem/error/question

Any time I try an use oAuth to authenticate an account, using AI BETA docker image, I get to the flow where I get to the callback URL of my instance, then just says unauthorised.

What is the error message (if any)?

as above

Please share your workflow

nothing to share

Information on your n8n setup

  • n8n version: latest
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue/redis
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker AI BETA image
  • Operating system: docker

image

any ideas?

same issue on activated and non-activated flows.
same on different nodes, e.g twitter, google etc

Hi @RedPacketSec, I am sorry you are having trouble.

This doesn’t seem like a callback-specific error from looking at https://github.com/n8n-io/n8n/blob/master/packages/cli/src/controllers/oauth/oAuth2Credential.controller.ts#L105, so I am a bit lost here unfortunately. @netroy do you have any idea what might cause n8n to respond with “Unauthorized” and nothing else?

Are you using Firefox Multi-Account Containers by any chance?

1 Like

Nah I think when moving to queue mode i might have messed up my docker compose file. Think I might have messed the URL webhook environment variable. Will check when I get home

2 Likes

yeah, this was it, human error.

my bad, sorry n8n team.

I bloody missed a line when migrating over my config.

1 Like

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