Google OAuth Setup not working

Issue Summary

Exception on /oauth/google_callback

Technical details:

Configured Redash in GKE under the Loadbalancer. Also enabled Google oauth as per the default document " How to Create a Google Developers Project"

Get below error:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/flask/”, line 2446, in wsgi_app
response = self.full_dispatch_request()
File “/usr/local/lib/python3.7/site-packages/flask/”, line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File “/usr/local/lib/python3.7/site-packages/flask_restful/”, line 269, in error_router
return original_handler(e)
File “/usr/local/lib/python3.7/site-packages/flask/”, line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File “/usr/local/lib/python3.7/site-packages/flask/”, line 39, in reraise
raise value
File “/usr/local/lib/python3.7/site-packages/flask/”, line 1949, in full_dispatch_request
rv = self.dispatch_request()
File “/usr/local/lib/python3.7/site-packages/flask/”, line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File “/app/redash/authentication/”, line 87, in authorized
resp = google_remote_app().authorized_response()
File “/usr/local/lib/python3.7/site-packages/flask_oauthlib/”, line 707, in authorized_response
data = self.handle_oauth2_response(args)
File “/usr/local/lib/python3.7/site-packages/flask_oauthlib/”, line 692, in handle_oauth2_response
type=‘invalid_response’, data=data
flask_oauthlib.client.OAuthException: Invalid response from google

Is this required/feasible to get this working:

Able to get it worked while trying docker-compose setup with the same Google credentials.