Open l-dobrev opened 10 years ago
My Python-fu is not that strong, but I believe that the culprit is in the provider.py at line 102 in the InitializeOpenId() method. There it constructs the URL of the service, but does so a bit blindly. This http://www.python.org/dev/peps/pep-0333/#url-reconstruction shows a good way to construct the service URL based on the request, including server address, port and protocol.
We are not using this service in the company. We have a rewritten version of the code embedded in Georeferencer (http://www.klokantech.com/georeferencer).
You can patch the code and deploy it on an alternative appengine project url.
If you provide a correct pull request with this fixed I will push it to the https://facebook-openid.appspot.com/ as well.
If you want us to fix it and you are willing to cover our working time on this task please let me know.
When using https://facebook-openid.appspot.com/ as OpenID address service URL seems to be broken resulting in the browser attempting to connect to the HTTPS port with straight HTTP, which does not work. The XRD says
The protocol should be changed to HTTPS whenever https is used to obtain the XRD.