(1) I log in to the Drupal site with my FB account.
(2) I then log out from the Drupal site and also log out from FB.
(3) I log in to FB with my son's account (with his consent of course).
(4) Now I log in to Drupal site using the FBOAuth from the same browser.
I was expecting it will create a new account for my son connecting to his FB account but it did not. Instead I was logged in with my own account in (1). I cleared the cache of my browser and cleared the cache of the Drupal site. With that, all my browser history is empty. I logged in again to Drupal site using FBOAuth. I was expecting, as expected it brought me FB login form. I then log in with the FB account of my son. Now I am expecting it will create a new account for my son in the Drupal site, but unfortunately, it goes back to (1) again.
Comments
Comment #1
quicksketchIt might be that your Drupal account has been mistakenly bound to your son's Facebook account. You might try logging into the Drupal site, visiting user/x/edit and clicking on the "More information" link in the Facebook connect field. Then deauthorize your account from Facebook. This will delete the association between accounts both in Drupal and on Facebook. Then try logging out and log in again through Facebook.
One other potential caveat is the e-mail addresses that are used both on Facebook and in Drupal. If an existing Drupal account matches the e-mail address that Facebook has on file, then FBOAuth will link the Facebook account to the matching Drupal account that has the same e-mail address rather than making a new account. Are the e-mail addresses for your account and your son's account different? I don't know if Facebook even allows multiple accounts to have the same e-mail address, but I wouldn't think this would be a possibility.