简体   繁体   中英

Linked authentication Integrating with Symfony2 (FOSUserBundle)

I am developing an application using symfony2.2.

I'm trying to authenticate my users via Linkedin Or FOSUserbundle on symfony2.

I can authenticate users on linkedin by happyr library . It has also documentation for integrating it with symfony2, but its not complete.. i think that i should write custom user provider to login the user automatically after getting his info from linked, and my question is HOW ?

maybe you could consider to use https://github.com/hwi/HWIOAuthBundle

Offers adapter to many 3rdy party, including Linkedin, and is well documented.

This blog post offer an example of integration

http://m2mdas.github.io/blog/2013/11/21/integrate-hwioauthbundle-with-fosuserbundle/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM