nor-passport

PassportJS with NoPg setup

nor-passportjs

PassportJS helpers

// Passport
var passport = require('nor-passport');
passport.setup({  
    'pg': config.pg,
    'types': {
       'User': types.User,
       'Group': types.Group
    }
});
 
// ...
 
app.use(passport.initialize());
app.use(passport.session());