我已经定义了一个路由'auth/google‘,它负责用google.Consent登录应用程序,登录(不需要passport.initialize() )屏幕出现,.I也将回调Url定义为'auth/为什么我得到的错误中间件(passport.initialize())没有被使用
// using pasport.authenticate for authenicate the request (noerror for not using passport.i
我刚刚开始摆弄Node.js,它的导出和passport模块。在设置了Facebook的登录后,我被卡住了几个小时,如何在应用程序中发布在我的墙上。我已经在Facebook开发者上注册了应用程序,以获得它的应用程序ID和应用程序密钥。我还把它注册到了localhost。我现在如何在Facebook上发帖?这是我到目前为止的代码:
var passport = require('passport</e