# How to Resolve redirect\_uri\_mismatch Error When Enabling Google Login in Discourse with Reverse Proxy Setup?

**URL:** <https://meta.discourse.org/t/how-to-resolve-redirect-uri-mismatch-error-when-enabling-google-login-in-discourse-with-reverse-proxy-setup/333332>\
**Category:** Support\
**Created:** [October 29, 2024, 8:20am UTC](https://meta.discourse.org/t/how-to-resolve-redirect-uri-mismatch-error-when-enabling-google-login-in-discourse-with-reverse-proxy-setup/333332 "2024-10-29T08:20:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [October 29, 2024, 8:23am UTC](https://meta.discourse.org/t/how-to-resolve-redirect-uri-mismatch-error-when-enabling-google-login-in-discourse-with-reverse-proxy-setup/333332/2 "2024-10-29T08:23:59Z")

</div>

> [@Tim\_Lo](#):
>
> [test.com/forums/auth/google\_oauth2/callback](http://test.com/forums/auth/google_oauth2/callback)

In your Google Cloud settings, what if you changed the url to `forums-test.com/auth/google_oauth2/callback`?

---

_[View the full topic](https://meta.discourse.org/t/how-to-resolve-redirect-uri-mismatch-error-when-enabling-google-login-in-discourse-with-reverse-proxy-setup/333332)._
