Yup, that's the proper behavior and should be what happens. That should work with both Facebook and Google.. if the primary email address they have in their social network is the exact same as a Joomla user on your site, they should be automatically mapped.But when an EXISTING user comes along and clicks on the Facebook button, I expect this option (Automatically Link Users by Email) to say, "Hey, look, Facebook authenticated this guy and his email is already in my users database. Don't bother him, just make the association and log him in, he's good to go!"
This is normal behavior. If you have the "Email Field on Registration:" setting enabled, the user will be able to enter or edit the email address from Facebook/Google and we will create the account with whatever email they provide.On that page, I chose to log in. I logged in as a user with a DIFFERENT EMAIL ADDRESS than the one associated with the Facebook account I used to start the process.
It was happy to make the association and import the fields. So now I have a Joomla account with one email address that is NOT the email address associated with its Facebook mapping.
Your correct, it will not import data on a connection, only registration or login. This is something we're investigating a better solution for in the future. Some users absolutely want it how it is, others want it as you want.. so we'll have to have an option at some point. Some admins (and users) would be very annoyed if their avatar, cover photo and all of their profile information was overwritten just because they connected accounts, and we understand that.Also, after logging in and having it make the mapping it DID NOT import fields into JomSocial and Kunena has I have configured. I have it set to only import the first time, on registration.
My guess is that it's not considering this mapping to an existing account to be a "first time," and I believe it should.
if (!$provider->initialRegistration && JFBCFactory::config()->getSetting('facebook_auto_map_by_email') && !$jUserId)
if ($provider->initialRegistration && JFBCFactory::config()->getSetting('facebook_auto_map_by_email') && !$jUserId)
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.