tschellenbach/Django-facebook — Issue #69: Odd authentication behaviour on my site and fasionlista
Author: guyf
Created: 2011-12-06 11:05:19+00:00
State: open

I have moved to 3.2.7 and including the js to enable oauth2 (oauth: true in the FB.init params) and the new facebook.js now looks for response instead of session to be returned. I then login via the js SDK using onclick="F.connect(this.parentNode);" I get the fb login popup and login fine.

If I then click over to another tab in the same browser session and go directly into facebook I get inot facebook fine but then immediately get a popup in facebook: Not Logged In - Please login to continue. It is as if going into facebook is logging me out.

If I don't click over to a facebook tab the session in my site seems to be ok.

If I login to facebook first then click over to a tab containing my site and connect with facebook my original facebook session remains logged in ok.

All of the above is true for fashionsta too.

Is this expected behaviour? I am sure prior to 3.2.7 and oauth2 I could switch between facebook and own site tabs without reauthenticating?

Guy.