Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including loopback-component-passport with all npm packages installed. Try it out:

var loopbackComponentPassport = require("loopback-component-passport")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

loopback-component-passport v3.11.0

LoopBack passport integration to support third party logins and account linking

loopback-component-passport

NOTE: This module supersedes loopback-passport. Please update your package.json accordingly.

The module provides integration between LoopBack and Passport to support third-party login and account linking for LoopBack applications.

Please see the official documentation for more information.

All local accounts requires verification

All third party accounts will login with an email of uniqueID@loopback.provider.com example 123456@loopback.facebook.com

which will allow the user to link the social media accounts that they want as well as the users could sign up with the same email account that is used for facebook/twitter/google/local if they wish to keep them separate.

Facebook profile information (such as email, gender, timezone, etc) may still be included if necessary. See https://github.com/strongloop/loopback-example-passport/blob/master/README.md#4-facebook-profile-info.

All user required info including the email will be available, but the main email for the account will remain uniqueID@loopback.facebook.com.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free