Topic-icon Login with XING

Active Subscriptions:

None
11 years 3 months ago #51748 by consultnet
Login with XING was created by consultnet
Hi,

I need to provide a login option for XING which is one of the biggest business network with 15 Mio. users worldwide. The code for XING can easily be generated on their developers site. I would like to integrate that into JFBConnect.

Would you mind to have a look at the snippet and tell me where to integrate this code (if possible) to make it available for my users? Generally I can only recommend to integrate XING into JFBConnect as especially in Germany almost everybody is using it.
<script type="xing/login">
{
  "consumer_key": "--- my secret key ---"
}
</script>
 
<script>(function(d) {
  var js, id='lwx';
  if (d.getElementById(id)) return;
  js = d.createElement('script'); js.id = id; js.src = "https://www.xing-share.com/plugins/login.js";
  d.getElementsByTagName('head')[0].appendChild(js)
}(document));</script>

More information is also available here dev.xing.com/plugins/login_with

Regards,
Uwe
The topic has been locked.
Support Specialist
11 years 3 months ago #51754 by alzander
Replied by alzander on topic Login with XING
There's definitely more required than just adding the Javascript on the page. That may show the login button, but there's a lot of functionality that JFBConnect normally takes care of for actually performing the authentication and tying into Joomla.

To perform that integration, you'd need to create the following 2 files:
* /components/com_jfbconnect/libraries/provider/xing.php - File used for setting up OAuth2 request URLs and authenticating users
* /components/com_jfbconnect/libraries/profile/xing.php - File used for setting up how profile import works from Xing

That's how you get started, and you could take a look at the amazon.php files in the same directories to get an idea of what code is necessary. You'll likely need a developer to make any progress though, even though we've tried to make adding additional providers an easy proposition so that we can do so in future releases.

I hope that helps get you started. There's only limited help we could provide now to implement Xing. Integration with Xing is something we're planning for a release later this year. It's one of the only few networks that we still get requests for, beyond Yahoo (which is coming in the 6.3 release).

Thanks,
Alex
The topic has been locked.