Topic-icon Can't stop "Auto Login Facebook Users"

Active Subscriptions:

None
12 years 5 months ago #40053 by ClassCastle
Hi All

I have JFB Connect Version 5.2.2 installed with Joomla 3.1.

Under Configuration > Facebook, I have "Auto Login Facebook Users" set to "No". I logged in using the Facebook button in Firefox- the new account was created fine. However, now when I log out and click the Facebook button to log in again, it auto logs into the first account I used. How can I stop this from happening?

This is the page: www.competition.classcastle.com/quiz

Many thanks
The topic has been locked.
Support Specialist
12 years 5 months ago #40059 by alzander
The "Auto login Facebook Users" setting will automatically log a user into your site whenever they visit. This happens as long as the user is logged into Facebook already in another tab.

If you have that setting disabled, the user will have to click the Facebook login button. Once clicked though, if they are already logged into Facebook in another tab, they will be logged into the account they've already connected with/created on your site. If they aren't logged into Facebook, there will be a popup where the user can enter their Facebook credentials and either register again (if a new account) or will be logged in with their existing account.

I hope that helps explain, but if not, or you have any other questions or issues, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago #40091 by ClassCastle
Thanks- but my current problem is that the auto log in is happening without being logged into Facebook in another tab.

I opened the site in Firefox (But no Facebook tab is open), and click the login with Facebook button. The first time it asks me for log in credentials. I entered them and did not check "Keep me logged in".

It logged me in fine, and then I logged out.

This is where the problem comes in- when I click the Facebook button again, it automatically logs in with the previously used Facebook account.

How can I stop this from happening?
The topic has been locked.
Support Specialist
12 years 5 months ago #40095 by alzander
That's the correct behavior. When you log out of your site, you are still logged into Facebook. Therefore, when you click the Facebook login button again, Facebook already knows that you are logged in and simply passes your information back to our site. If you go to Facebook.com, you'll see you're logged in.

To do what you're looking for, either:
* Disable the "Logout of Joomla Only" setting in the Configuration -> Facebook area of JFBConnect. When disabled, the user will be logged out of your site *and* Facebook when they logout on one of your pages.
* After you logout on your site, navigate to Facebook.com and logout there. Then, when you login to your site again with Facebook, a popup will appear asking for the user's Facebook credentials

I hope that helps explain,
Alex
The topic has been locked.