# Como Resolver o Erro redirect\_uri\_mismatch ao Ativar o Login do Google no Discourse com Configuração de Proxy Reverso

**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:** [Outubro 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:** 3

<div class="post-metadata">

**Author:** ![Tim\_Lo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tim_lo/32/459838_2.png) [@Tim\_Lo](https://meta.discourse.org/u/Tim_Lo)\
**Post date:** [Outubro 29, 2024, 8:27am UTC](https://meta.discourse.org/t/how-to-resolve-redirect-uri-mismatch-error-when-enabling-google-login-in-discourse-with-reverse-proxy-setup/333332/3 "2024-10-29T08:27:26Z")

</div>

> [@NateDhaliwal](#):
>
> Nas suas configurações do Google Cloud, e se você alterasse a URL para `forums-test.com/auth/google_oauth2/callback`?

O domínio “[forums-test.com](http://forums-test.com)” é inacessível na rede pública, então no meu Google Cloud, eu o defini para [test.com/auth/google\_oauth2/callback](http://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)._
