"As a community member, I'd like to chose to import user profile data from my LinkedIn profile into my user profile so that can I quickly and easily have a profile that represents my professional/academic achievements to other site members."

Ideally: Identify fields that are linkedin synchable - map those to linkedin fields (work, education history).

Acceptable (and more likely) alternative: Import text into the "Bio" field.

Comments

japerry’s picture

Sizing this is similar to the oauth profile system. Because connector is standardized, one bit of code should work with all the providers.
See #1558176: Login/signup to Commons site with Google/Facebook account for more info.

What works: Assigning an oauth callback id to the username
What doesn't? Everything else.

To be more specific, only the username syncs over to drupal. Even new users do not import extra metadata from oauth providers with the connector module. Existing site users who wish to connect their profile don't have a way to do this. New accounts are created when you login with a provider, even if the email is the same.

Additionally, we probably should have some security measure so an oauth provider cannot freely update a drupal user without authorization from the site user first. I see two methods to doing this

1) Having a 'social networks' tab on the user profile page, which allows the user to authenticate to social networks. In this configuration, the email of the social network does not have to match that of the drupal user because the drupal user is already logged in.

2) Prompting the user to put in their password when the email address of the social network matches the email address of the drupal user. If the email address is different on the social network, it will create a new user.

Lastly, we will need to do further debugging into the connector module to figure out how it works. I'm not quite sure the time it'll take to dig into this.

On the theming front, other distributions, like commerce kickstart, have a great login widget that uses the connector module. I suggest we build off that.

ezra-g’s picture

So, is it possible to estimate this on its own, assuming we've completed the work in #1558176: Login/signup to Commons site with Google/Facebook account?

ezra-g’s picture

japerry clarified that the estimate here is included in ##1558176.

japerry’s picture

Need to investigate Hybridauth and profile synchronization.

japerry’s picture

Assigned: Unassigned » japerry
jmoratti’s picture

I was wondering if anyone had any luck with this I am investigating sycing with profile2 and was looking into what others have done

lsolesen’s picture

Version: » 7.x-3.x-dev
Issue summary: View changes