1.0.0 • Published 8 years ago

passport-fanfou v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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
  }

License

The MIT License