我已经定义了一个路由'auth/google‘,它负责用google.Consent登录应用程序,登录(不需要passport.initialize() )屏幕出现,.I也将回调Url定义为'auth/为什么我得到的错误中间件(passport.initialize())没有被使用
// using pasport.authenticate for authenicate the request (noerror for not using <
当使用passport.js进行OAuth时,它给了我 at IncomingMessage.req.login.req.logIn(C:\Users\Rohit\Documents\Projects\server\node_modules\passport\lib\http\re错误,即使我目前没有使用会话但是,当我注释掉‘my ()’函数时,它就不再显示这个错误</em