Hello All, I have gone through the passport component earlier and yes we can use it to extend for FB also. I have worked on its design process, here is the JIRA <https://issues.apache.org/jira/browse/OFBIZ-9701>
for the same to implement it. We will need an event for this FB user login and authenticate this user and get the access token. Access token will help to get user information. We can store user information, name, login id in the database and create a person with this user login by calling createPersonAndUserLogin service. To store the information we have different entities for GitHub and LinkedIn, same we will do for the Facebook also. This is just an overview of the design. The complete design will share in the JIRA soon. Thanks Renuka Srishti On Mon, Sep 11, 2017 at 1:16 PM, Jacques Le Roux < [email protected]> wrote: > Hi All, > > There is already the passport plugin but this is limited to few current > (by current, I mean think 10 years ahead, will they still be there, on the > same form?) external SLO (Single Sign On) providers (GitHub and LinkedIn) > > I have been recently working on such a request for a custom project of a > global enterprise. > > They use 2 forms of SSO: SAML2 and Oauth2 and use PingFederate > https://ping.force.com/Support/VideoId/1674987866001 on the Identity side > (the side which provides SLO) > > I have worked on SAML 1st and picked Shibboleth SP2 for the Service > provider side https://www.internet2.edu/products-services/trust-identity/ > shibboleth/ > > A good choice, it's not easy to understand initially but offers *security* > and a decent way to configure. I have even written a simple manual for OPS. > > I'm now working on Oauth and I can already say that SAML is more advanced > > Just my 2 cts > > Jacques > > > > Le 11/09/2017 à 07:08, Tarun Thakur a écrit : > >> Hello all, >> >> I want to add one more point to this question. As its the world of social >> media and most of the platforms are providing social media login as well >> as >> login via unique username or mobile number too. Have found that this is >> not >> managed in base database of OFBiz. >> >> Think it should also be a feature for base data model in OFBiz. If its >> already managed then kindly correct this, will be helpful for me. >> >> *Thanks & Regards*, >> *Tarun Singh Thakur *| Business Developer >> Mobile: +91-8826544218 >> www.karyonsolutions.com | Developing Dreams With Hearts >> >> On Mon, Sep 11, 2017 at 10:12 AM, Deepak Dixit < >> [email protected]> wrote: >> >> Hi Raghu, >>> >>> Could you please share if its works for you or not? >>> If yes could you please provide patch or create new jira issue? >>> >>> >>> Thanks & Regards >>> -- >>> Deepak Dixit >>> www.hotwaxsystems.com >>> www.hotwax.co >>> >>> On Wed, Mar 4, 2015 at 7:21 PM, Raghu Chandra <[email protected]> wrote: >>> >>> Hi Shi Jinghai, >>>> >>>> Thanks a lot! i will check it and let you know, if i can do it for FB i >>>> will share the patch! >>>> >>>> Thanks >>>> >>>> On Wed, Mar 4, 2015 at 6:58 PM, Shi Jinghai <[email protected]> >>>> >>> wrote: >>> >>>> Hi Raghu, >>>>> >>>>> I created a jira with a patch here: >>>>> https://issues.apache.org/jira/browse/OFBIZ-6135 >>>>> >>>>> Please try it and feedback if it doesn't work. >>>>> >>>>> Kind Regards, >>>>> >>>>> Shi Jinghai/Langhua Ltd. >>>>> >>>>> >>>>> 在 2015-3-3,下午7:33,Raghu Chandra <[email protected]> 写道: >>>>> >>>>> Yes Exactly! please let me know when you do it :) >>>>>> >>>>>> On Tue, Mar 3, 2015 at 3:09 PM, Pierre Smits <[email protected] >>>>>> >>>>> wrote: >>>>> >>>>>> That sounds interesting. >>>>>>> >>>>>>> Best regards, >>>>>>> >>>>>>> Pierre Smits >>>>>>> >>>>>>> *ORRTIZ.COM <http://www.orrtiz.com>* >>>>>>> Services & Solutions for Cloud- >>>>>>> Based Manufacturing, Professional >>>>>>> Services and Retail & Trade >>>>>>> http://www.orrtiz.com >>>>>>> >>>>>>> On Tue, Mar 3, 2015 at 10:35 AM, Shi Jinghai <[email protected]> >>>>>>> >>>>>> wrote: >>>>> >>>>>> Is FB auth through OAuth2? If yes, I'll release a passport >>>>>>>> >>>>>>> component >>> >>>> supports Github, LinkedIn and PayPal, you can extend it to FB. >>>>>>>> >>>>>>>> >>>>>>>> 在 2015-3-3,下午3:18,Raghu Chandra <[email protected]> 写道: >>>>>>>> >>>>>>>> Hi Ron, >>>>>>>>> >>>>>>>>> I am able to login to FB account but not the application yet. >>>>>>>>> >>>>>>>> Roles >>> >>>> i >>>> >>>>> can >>>>>>> >>>>>>>> get assigned once i get authenticated. kindly let me know if you >>>>>>>>> >>>>>>>> have >>>> >>>>> any >>>>>>> >>>>>>>> reference links or anything. >>>>>>>>> >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> On Tue, Mar 3, 2015 at 12:27 PM, Ron Wheeler < >>>>>>>>> >>>>>>>> [email protected] >>>>>>>> >>>>>>>>> wrote: >>>>>>>>>> Do you have the user profiles in OFBiz? >>>>>>>>>> After you are signed in, you still need to have the roles >>>>>>>>>> >>>>>>>>> assigned >>> >>>> in >>>> >>>>> OFBiz. >>>>>>>>>> >>>>>>>>>> Ron >>>>>>>>>> >>>>>>>>>> On 03/03/2015 1:35 AM, Raghu Chandra wrote: >>>>>>>>>> >>>>>>>>>> Hi All, >>>>>>>>>>> >>>>>>>>>>> I tried integrating FB signup in ofBiz, i can get the FB login >>>>>>>>>>> >>>>>>>>>> done >>>> >>>>> from >>>>>>>> >>>>>>>>> the application but how can i authenticate user depending on his >>>>>>>>>>> >>>>>>>>>> Facebook >>>>>>>> >>>>>>>>> login so that he can access secure applications. >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Ron Wheeler >>>>>>>>>> President >>>>>>>>>> Artifact Software Inc >>>>>>>>>> email: [email protected] >>>>>>>>>> skype: ronaldmwheeler >>>>>>>>>> phone: 866-970-2435, ext 102 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> Raghu Chandra K R >>>>>>>>> Lead Engineer NPI (New Product Initiative) >>>>>>>>> Ph : 9964446854 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> *cropin.co.in <http://cropin.co.in>* >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>>>> -- >>>>>> Raghu Chandra K R >>>>>> Lead Engineer NPI (New Product Initiative) >>>>>> Ph : 9964446854 >>>>>> >>>>>> >>>>>> >>>>>> *cropin.co.in <http://cropin.co.in>* >>>>>> >>>>> >>>>> >>>> -- >>>> Raghu Chandra K R >>>> Lead Engineer NPI (New Product Initiative) >>>> Ph : 9964446854 >>>> >>>> >>>> >>>> *cropin.co.in <http://cropin.co.in>* >>>> >>>> >
