Skip to content
Advertisement

Tag: loopbackjs

Loopback passport-facebook for multiple user models

I’m using passport to authenticate users for my application using Facebook. In my application, I have 2 different users: customers and professionals (transitioning to “experts”). I followed the Loopback docs to implement the loopback-component-passport package and passport-facebook and have it working for my customers. Because I use custom User models, I followed this SO Post on how to get that

Advertisement