# Trouble testing custom domain Google Sign in 400: redirect\_uri\_mismatch

**URL:** <https://community.auth0.com/t/trouble-testing-custom-domain-google-sign-in-400-redirect-uri-mismatch/56993>\
**Category:** Get Help\
**Tags:** google, login\
**Created:** [January 29, 2021, 7:07am UTC](https://community.auth0.com/t/trouble-testing-custom-domain-google-sign-in-400-redirect-uri-mismatch/56993 "2021-01-29T07:07:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![robinhuang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/robinhuang/32/12835_2.png) [@robinhuang](https://community.auth0.com/u/robinhuang)\
**Post date:** [January 29, 2021, 7:07am UTC](https://community.auth0.com/t/trouble-testing-custom-domain-google-sign-in-400-redirect-uri-mismatch/56993/1 "2021-01-29T07:07:47Z")

</div>

Hi,

I successfully added a custom domain, and can sign in using email/password. I added my custom domain to my developers Google account.

My redirect uri in Google is https://{{customdomain}}.com/login/callback

But when I try to “Test Connection” in Google, it gives me an error saying the redirect URI in request is the tenant address I have (default one given by auth0). Do you know why this is? Can I change this?

Thank you so much!

---

<div class="post-metadata">

**Author:** ![walarsh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/walarsh/32/12799_2.png) [@walarsh](https://community.auth0.com/u/walarsh)\
**Post date:** [February 21, 2021, 2:42am UTC](https://community.auth0.com/t/trouble-testing-custom-domain-google-sign-in-400-redirect-uri-mismatch/56993/2 "2021-02-21T02:42:17Z")

</div>

I had the same issue with the test button. However the url generated using a specific Application is working.

---

<div class="post-metadata">

**Author:** ![colman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colman/32/32464_2.png) [@colman](https://community.auth0.com/u/colman)\
**Post date:** [October 20, 2021, 9:39pm UTC](https://community.auth0.com/t/trouble-testing-custom-domain-google-sign-in-400-redirect-uri-mismatch/56993/3 "2021-10-20T21:39:58Z")

</div>

Ah spent ages trying to fix this. Thanks @walarsh !

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 21, 2021, 8:53am UTC](https://community.auth0.com/t/trouble-testing-custom-domain-google-sign-in-400-redirect-uri-mismatch/56993/4 "2021-10-21T08:53:47Z")

</div>

Teamwork makes the dreamwork!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 28, 2021, 1:01pm UTC](https://community.auth0.com/t/trouble-testing-custom-domain-google-sign-in-400-redirect-uri-mismatch/56993/5 "2021-10-28T13:01:17Z")

</div>


