I've successfully integrated Facebook Connect using DFF on other sites, but for a site I'm currently working on everything seems to work fine except that users created with FBC (ie, ones named 12345678@facebook) aren't logged out when they click logout (or go to /logout manually). They are redirected back to wherever they were before, still logged in, full access, etc.

This doesn't happen with users who authenticate locally and aren't linked to FBC.

Comments

Dave Cohen’s picture

Status: Active » Postponed (maintainer needs more info)

Tried to reproduce but logout worked for me.

Try deleting all cookies and cache from your browser, and see if you can make this happen again. If so,

Which version of Drupal are you using?

Which browser?

Are you using any modules which affect drupal user management, like login toboggan or what not?

xmattus’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Ah...disabling LoginTobaggan fixed it. Thanks for the tip!

I'm guessing you're aware of the conflict already, then, but for the record this was Drupal 6.10, latest dev release of DFF, and Firefox 3.5/Mac.

Dave Cohen’s picture

Title: Logout has no effect (user remains logged in) » Logout has no effect (user remains logged in) when login tobaggan is enabled
Status: Closed (fixed) » Fixed

I'm not aware of any conflict, until now. But I'm not surprised.

I suspect this is a bug that needs to be fixed in login tobaggan, but I say that without really knowing the details of the problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

junro’s picture

Status: Closed (fixed) » Active

Hello,

I just install DFF for the first time and I still have this bug using the last dev version of DFF.

I don't want to disable login toboggan.

Any news from it since the last post?

I will open an issue in LoginTobaggan, I think it's more appropriate. LoginTobaggan is the cause.

janadam’s picture

Same here,
I just installed latest dev version of fb module. Everything seems to work pretty well except Facebook logout button. When fb logout is clicked user is not logged out from drupal, is logged out from fb comments, fb avatar remains, only button is changed from Logout > Login.

Drupal logout works.

I have <fb:comments width="460"></fb:comments> in block under each node.

I tried to disable and uninstall login toboggan module but it had no effect.

test version is at http://a.war.sk/

ironsizide’s picture

Drupal 6.16, DFF 2.0-rc2

I'm seeing this behavior in Safari 4.0.5 and Firefox 3.6.3. When viewing the canvas pages, clicking on logout or going to /logout just send me back to the front page and I'm still logged in. I ripped out LoginTobbagan, uninstalled it, cleared the Drupal caches and cleared out the cache and cookies in the browsers. I don't have any other modules installed that effect logins.

With the same user I can log into the Drupal site normally and connect via FBC and in both cases the user can log out normally. I'm only seeing it in the canvas page.

Dave Cohen’s picture

For canvas pages, I'm not convinced Drupal's logout should work. On canvas pages you're either logged into facebook or not. The most these modules could do is provide a way to easily remove the logout menu item. I don't think Drupal's logout should log you out of facebook, and I'm not sure that's even possible.

At any rate, canvas pages are another issue. The comment in #6 is another issue, too . This thread was revived when it really should not have been.

Dave Cohen’s picture

Status: Active » Fixed

oops forgot to change the status. For the other problems, please submit new issues.

ironsizide’s picture

Just to clarify: Drupal logout not working on canvas pages is expected behavior? I'm cool with that if that's what I'm supposed to be seeing. I can do something with the themes to remove the logout link from my pages in FB so the user isn't confused.

junro’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Marko B’s picture

I am having the same problem. When i remove loggin toboggan i finally could logout.

Think this could be 2 problems. One is that i can't logout from user 1 when i am logged in to facebook, ok lets says this is normal and it should be like that so maybe its not a problem.

Other problem is that i couldnt logout, from user 3 while this user wasn't logged in to FB and toboggan was enabled. So think people are/will be mixing this 2.

pribeh’s picture

Status: Active » Closed (fixed)

Same problem here except disabling LoginToboggan does nothing to resolve the situation. Only a user who's account has been created via Facebook Connect cannot logout properly. All other users can log out fine. I'm using the latest release candidate (rc7).

Also, the following thread does not seem to illuminate anything for me but perhaps it might help someone else: http://drupal.org/node/783506

pribeh’s picture

Status: Closed (fixed) » Active

Sorry, but I'm reopening.

Dave Cohen’s picture

Status: Closed (fixed) » Closed (won't fix)

This is issue is months old, fixed, and the title is quite specific that login toboggan is enabled. If you have a different problem, submit a new issue.

mikerasmussen’s picture

I don't have login tobaggen, but I am experiencing this bug. however, really interesting this, if I enable Devel, and the FB devel module, it works fine. If not, it does not work. Weird...

mikerasmussen’s picture

Actually, don't even need the FB devel enabled, just the devel module, then the logout works fine. Otherwise it doesn't...