passport-w3openid
v0.0.6
Published
Library for authenticating using w3 and SSO
Downloads
3
Readme
passport-w3openid
A small library for authenticating with passport and w3openid
Usage
within app.js
var passport = require('passport');
var W3Strategy = require('passport-w3openid');
passport.use(new W3Strategy({
returnURL: 'XXXX'
}, function(identifier, user, done) {
var email = user.emails[0].value;
done(null, email);
});