× Joomla Facebook Connect support forum

Topic-icon Incorrect Name Displayed

Active Subscriptions:

None
13 years 8 months ago #4456 by nikkia
This seems like a glitch that I've come across. I'm not exactly sure what circumstances produce it, but upon clicking "Login with Facebook" and entering my info, my avatar appears and it's my account logged in in the various FB modules, but it logs another user who has logged in via my computer into Joomla and it says "Welcome their name" under my avatar. So we're essentially both logged in in different parts of the site.
The topic has been locked.
Active Subscriptions:

None
13 years 8 months ago #4457 by nikkia
Replied by nikkia on topic Incorrect Name Displayed
After some more exploring it does seem like the FBConnect is logging one person into the FB modules (me) and one person into the other Joomla Modules, namely CB. Is it possible that connections got crossed? At some point my avatar became associated with the other account in question.

I have "allow reconnections" enabled in the Login module. Is that the problem?
The topic has been locked.
Support Specialist
13 years 8 months ago #4466 by alzander
Replied by alzander on topic Incorrect Name Displayed
So to rehash, when you log in, on Facebook you're one user, but on the site you're a different user than you'd expect.

This could definitely be caused by allow reconnections being enabled. If you're only importing the profile on registration, it would not update the 'wrong' Joomla user's profile with the avatar from Facebook, and instead leave it at the original user's picture.

However, it seems like we might be missing something else here. How are you logging in both times, with Facebook, or are you trying to log in with Joomla as well? Do you have JFBConnect set to log the user out of Facebook and Joomla, or just Joomla? It's possible a combination of these settings are working against each other to remap accounts at unexpected times. However, if you are logging out and back in, it shouldn't be a re-connection at that point.. simply a login.

If it is some sort of conflict, we can check for that configuration and throw a warning to the admin that invalid options are set. We like all 3 (enable reconnects, logout of only Joomla, and automatic login via Facebook), but I can walk through in my head how all 3 could end up with a problem:
1) Login to site with Facebook - Joomla User associated with correct FB User
2) Logout of Facebook on Facebook's site (remaining logged into Joomla)
3) Login to Facebook with different account and revisit page
At this point, if automatic login is enabled AND reconnections are allowed, it may remap the user. We'd have to check.

Let us know if this seems similar, or something else might be going on.

Thanks for the feedback!
The topic has been locked.