LoopBack example for loopback-passport module. It demonstrates how to use LoopBack's user/userIdentity/userCredential models and passport to interact with other auth providers.
- Log in or sign up to LoopBack using third party providers (aka social logins)
- Link third party accounts with a LoopBack user (for example, a LoopBack user can have associated facebook/goole accounts to retrieve pictures).
git clone git@github.com:strongloop-community/loopback-example-passport.git
cd loopback-example-passport
npm install
- Copy providers.json.template to providers.json
- Update providers.json with your own values for clientID/clientSecret
node app
Open your browser to http://127.0.0.1:3000