Google OAuth N8n

ismaillos
HOBBY

3 months ago

I Hey everyone, I'm running N8N, and I'm having issue with Google OAuth.
Hoping someone can point me in the right direction.

I'm hosting N8N on Railway and trying to connect it to Google Sheets via OAuth.
When I try to authenticate via Google OAuth in N8N, I get a "403 error: access_denied"

I've tried every possible way to connect via YouTube, but it just won’t work.
While searching past posts, I found mentions of "custom domain" and other related stuff—but honestly, I have no idea what that means.

I really need some help here. If anyone can explain what I might be missing, I'd be super grateful.

$10 Bounty

3 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


phoenixauro
HOBBY

3 months ago

Google does not allow OAuth redirection to generic Railway or localhost domains (like *.railway.app or localhost:5678)
Use a custom domain with your n8n instance. You can use add a subdomain like n8n.yourdomain.com to point to your Railway-hosted app.


clashing
HOBBY

3 months ago

https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrf

See this post of mine, it would help you to get the custom domain set up


Loading...