Introduction
Define application keys for Passport.js integration. Currently supporting Github, Twitter, Facebook, and Google.
Full Example
You can find more information about each strategy and about the above variables in the official documentation of Passport.js strategies.
Passport Login Object
"passportLogin": { "twitter": { "clientID": "TWITTER_CLIENT_ID", "clientSecret": "TWITTER_CLIENT_SECRET", "callbackURL": "http://local-widget.com/urac/login/success" }, "facebook": { "clientID": 'FACEBOOK_CLIENT_ID', "clientSecret": 'FACEBOOK_CLIENT_SECRET', "callbackURL": "http://local-widget.com/urac/login/success?mode=facebook" }, "google": { "clientID": 'GOOGLE_CLIENT_ID', "clientSecret": 'GOOGLE_CLIENT_SECRET', "callbackURL": "http://local-widget.com/urac/login/success" }, "github": { "clientID": "GITHUB_CLIENT_ID", "clientSecret": "GITHUB_CLIENT_SECRET", "callbackURL": "http://127.0.0.1:3000/auth/github/callback" } }
Add Comment