Topic-icon Automatically Link Users by Email

Active Subscriptions:

None
11 years 1 week ago #53469 by klox7
Hi,

I'm using JFBConnect for login with muptiple providers. How can I link user if for the 1st he signs in with facebook and 2nd time with twitter?

Regards
The topic has been locked.
Support Specialist
11 years 1 week ago #53474 by mel
The behavior in JFBConnect for this is different depending on whether the social network returns an email address or not.
* For Twitter, an email address is not provided. When the Twitter login button is clicked, the user is brought to JFBConnect's login / register page. On this page there are two forms. The form with the following text "If you already have an account, just log in here, and we'll link your Twitter account to it." allows the user to link an existing account (the one created with Facebook) to the Twitter account. To do this, simply click the Facebook button on that form (or login with the associated Joomla credentials that were created with the first account). The accounts should be linked at this point
* For other networks that return the email, if the email address on the second account (Twitter) matches the email address on the first (Facebook), the two accounts should automatically be linked. If the email addresses do not match, whether the user gets directed to the login / register page to link the accounts like above will depend on your 'Enable Automatic Registration' setting.

I hope this addresses your problem, but let us know if you have any more questions.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 1 week ago #53477 by klox7
Hello Melissa, thank you for answer.

So user must be redirected to JFB login/register page for sign in with Twitter and connect accounts will work? What if using other registration extensions?

Regards
The topic has been locked.
Support Specialist
11 years 1 week ago #53478 by alzander
If you have the "Registration Component" setting configured for something other than JFBConnect, then there won't be an option to login to an existing account. We don't have control over the registration / login flow of other extensions.

One other option that may work for you is the 'Connect' features of the SCLogin module. You can see an example of that from the My Account menu above where, when you are logged in, the user can connect their current account to other social networks. We also added a "Account" menu option that you can link to in the 6.3 release. From there, a user can view which networks their account is linked to and make/break links to social networks.

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