Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

TypeError: this.authenticate is not a function

I believe you've missed a pair of parenthesis on passport.session method call.

Try app.use(passport.session());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #function
ADD COMMENT
Topic
Name
4+3 =