Using flask-googlelogin with gunicorn and nginx causing 400 Bad Request
I had the same problem using uwsgi.
I was able to fix it by adding the following line to my /etc/nginx/uwsgi_params
.
uwsgi_param UWSGI_SCHEME $server_protocol;
I also added to my app.config
app.config['GOOGLE_LOGIN_REDIRECT_SCHEME'] = "https"
Best of luck.