Skip to content

Fanfou authentication strategy for Passport and Node.js.

License

Notifications You must be signed in to change notification settings

didikeke/passport-fanfou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fanfou authentication strategy for Passport and Node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published