Regardless of whether of not the page that loads the fboauth login button is served over HTTPS or not. If HTTPS is available, we should use it. This patch does exactly that.

I came across this when I found fboauth didn't work when I tried logging in over HTTP because I was redirecting requests to /fboauth* to HTTPS and facebook was sending me back the HTTP version of the page.

CommentFileSizeAuthor
7.x-1.x-fboauth-use-https.patch1.75 KBjosh waihi

Comments

quicksketch’s picture

Thanks, I'm a bit surprised this is needed actually. I would assume that Drupal would make absolute URLs be https if you're currently on an https page.

eigentor’s picture

FBoauth still does not work with SSL, as far as my tests go.
I tried to apply the patch to a newer version of fboauth, but it did not help.