A generic PassportJS strategy adapter for feathers-authentication.
npm install feathers-authentication-passport --save
[email protected]
and above
In most cases initializing the feathers-authentication-passport
module is as simple as doing this:
app.configure(authentication(settings));
app.configure(passportAuthentication({
name: settings.passport.name, // defaults to 'passport' if not specified
strategy: new PassportStrategy(settings.passport, Verifier) // required
}));
See the examples/ directory for a complete example.
Copyright (c) 2017
Licensed under the MIT license.