LoopBack passport integration to support third party (including Auth0) logins and account linking
Last updated 3 years ago by murcialito .
Artistic-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install loopback-component-passport-auth0 
SYNC missed versions from official npm registry.


**NOTE: This module is a fork to allow Auth0 integration, once this functionality is available in main module this one will not be no longer maintained **

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.

If more info is required from the Facebook profile such as email, it could still be obtained. In node_modules\passport-facebook\lib\strategy.js, replace:

this._profileURL = options.profileURL || 'https://graph.facebook.com/me';


this._profileURL = options.profileURL ||

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

Current Tags

  • 2.1.0                                ...           latest (3 years ago)

1 Versions

  • 2.1.0                                ...           3 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (5)
Dependents (0)

Copyright 2014 - 2017 © taobao.org |