How to Resolve redirect_uri_mismatch Error When Enabling Google Login in Discourse with Reverse Proxy Setup?

the domain"forums-test.com" is inaccessiable in public network, so in my google cloud, i set it to test.com/auth/google_oauth2/callback