Closed yamsellem closed 10 years ago
I guess passport.authenticate('linkedin', {session:false})
is working :)
I'm having another problem (and will close this once everything is fine, I hope soon).
@yamsellem I added '{session: false}' and I still get the error about session being required, any ideas?
@yamsellem I ended up using https://github.com/auth0/passport-linkedin-oauth2 instead.
It seems to me that some strategies provide a
stateless
option that allow to avoid theserializeUser
call and the session save.My needs is to connect a user with a local strategy and add accounts to this existing session. So, I need to deactivate the session round trip of other 'strategy'.
Thanks.