change redirects and add OAUTHLIB_INSECURE_TRANSPORT to Dockerfile
Redirect urls return private ip instead of the proxy domain name. Adding _external=true as parameter make it works when we are working through a proxy instance.
On the other hand, requests-oauthlib package returns an error. Adding the env variable disables HTTPS check.