passport-fanfou
copied from passport-twitter by Jared Hanson
Installation
$ npm install passport-fanfou
Usage
For StrongLoop
If you are using loopback-component-passport, add fanfou-login config to providers.json
"fanfou-login": {
"provider": "fanfou",
"module": "passport-fanfou",
"callbackURL": "/auth/fanfou/callback",
"authPath": "/auth/fanfou",
"callbackPath": "/auth/fanfou/callback",
"successRedirect": "/successUrl",
"failureRedirect": "/failureUrl",
"consumerKey": "your_consumer_key",
"consumerSecret": "your_consumer_secret",
"failureFlash": true
}