# OAuth2 Google redirect\_uri\_mismatch on n8n Cloud (custom domain)

**URL:** <https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976>\
**Category:** Questions\
**Tags:** cloud, google-drive\
**Created:** [Décembre 23, 2025, 9:32 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976 "2025-12-23T09:32:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Ene](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/daniel_ene/32/147111_2.png) [@Daniel\_Ene](https://community.n8n.io/u/Daniel_Ene)\
**Post date:** [Décembre 23, 2025, 9:32 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/1 "2025-12-23T09:32:21Z")

</div>

Hi, I’m using n8n Cloud with a custom subdomain `https://danielene.app.n8n.cloud`.

I’m trying to connect to Google using OAuth2 (e.g., Google Sheets / Google Docs), but I keep getting this error: redirect\_uri\_mismatch, Bad Request

✅ I already added this URI in the Google Cloud Console:  
`https://danielene.app.n8n.cloud/rest/oauth2-credential/callback`

❌ But in n8n, it shows the default one: `https://oauth.n8n.cloud/oauth2/callback`

This mismatch is causing Google to reject the redirect.

Can you please assist? I think n8n might still be sending the wrong redirect behind the scenes.

Thanks!

I spent like 5-6 hours to make it work and it doesn’t.

Please help…

---

<div class="post-metadata">

**Author:** ![aeiwa](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/aeiwa/32/147297_2.png) [@aeiwa](https://community.n8n.io/u/aeiwa)\
**Post date:** [Décembre 23, 2025, 8:16 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/2 "2025-12-23T20:16:57Z")

</div>

Facing the same issue - confirmed that the Client Secret and Client ID are correct

---

<div class="post-metadata">

**Author:** ![ender330](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ender330/32/58749_2.png) [@ender330](https://community.n8n.io/u/ender330)\
**Post date:** [Décembre 23, 2025, 8:26 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/3 "2025-12-23T20:26:59Z")

</div>

Yes several of us on the forums have been having the exact same issue since yesterday - i have given up on using google OAuth until this is fixed, i suspect you are exactly right and there is a mismatch on the URIs behind the scenes

---

<div class="post-metadata">

**Author:** ![Duncan\_McGillivray](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/duncan_mcgillivray/32/112290_2.png) [@Duncan\_McGillivray](https://community.n8n.io/u/Duncan_McGillivray)\
**Post date:** [Décembre 23, 2025, 9:52 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/4 "2025-12-23T21:52:54Z")

</div>

Same issue here, trying since yesterday. n8n needs to fix this.

---

<div class="post-metadata">

**Author:** ![Daniel\_Ene](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/daniel_ene/32/147111_2.png) [@Daniel\_Ene](https://community.n8n.io/u/Daniel_Ene)\
**Post date:** [Décembre 24, 2025, 12:12 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/5 "2025-12-24T00:12:32Z")

</div>

yes exactly

---

<div class="post-metadata">

**Author:** ![Daniel\_Ene](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/daniel_ene/32/147111_2.png) [@Daniel\_Ene](https://community.n8n.io/u/Daniel_Ene)\
**Post date:** [Décembre 24, 2025, 12:14 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/6 "2025-12-24T00:14:05Z")

</div>

What I want to know is if the issue is from my side, or from n8n, it kinda drove me crazy, i tried like 5 hours or so to make it work… from you guys it seems that the issue is from n8n with the version 2.1 and above

---

<div class="post-metadata">

**Author:** ![Jim\_Kia\_Chia](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jim_kia_chia/32/58807_2.png) [@Jim\_Kia\_Chia](https://community.n8n.io/u/Jim_Kia_Chia)\
**Post date:** [Décembre 24, 2025, 12:51 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/7 "2025-12-24T00:51:28Z")

</div>

Yes, I am experiencing this issue as well and needed help to start using it. n8n, please help. Thank you.

---

<div class="post-metadata">

**Author:** ![Daniel\_Ene](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/daniel_ene/32/147111_2.png) [@Daniel\_Ene](https://community.n8n.io/u/Daniel_Ene)\
**Post date:** [Décembre 26, 2025, 7:47 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/8 "2025-12-26T19:47:19Z")

</div>

IT works now in version 2.1.4 latest stable. They fixed it.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [Mars 28, 2026, 8:43 UTC](https://community.n8n.io/t/oauth2-google-redirect-uri-mismatch-on-n8n-cloud-custom-domain/239976/10 "2026-03-28T08:43:17Z")

</div>

A fermé ce sujet (le Mars 28, 2026, 8:43 UTC)

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