Blog

TypeError:this.authenticate is not a function

Mostly in this case we missed a pair of parenthesis on passport.session method call.

app.use(passport.session());

Leave a Reply

Your email address will not be published. Required fields are marked *