Typeerror: this.Authenticate nie jest funkcją
I believe you've missed a pair of parenthesis on passport.session method call.
Try app.use(passport.session());
Udituk
I believe you've missed a pair of parenthesis on passport.session method call.
Try app.use(passport.session());