You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, installed Balloons.IO on my site http://chat.let.de , but it seems the express version is deprecated , when i want to login with twitter, i got this error:
Error: OAuth authentication requires session support at Strategy.OAuthStrategy.authenticate (/root/Balloons.IO/node_modules/passport-twitter/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:102:41) at Strategy.authenticate (/root/Balloons.IO/node_modules/passport-twitter/lib/passport-twitter/strategy.js:82:40) at attempt (/root/Balloons.IO/node_modules/passport/lib/passport/middleware/authenticate.js:243:16) at Passport.authenticate (/root/Balloons.IO/node_modules/passport/lib/passport/middleware/authenticate.js:244:7) at callbacks (/root/Balloons.IO/node_modules/express/lib/router/index.js:161:37) at param (/root/Balloons.IO/node_modules/express/lib/router/index.js:135:11) at pass (/root/Balloons.IO/node_modules/express/lib/router/index.js:142:5) at Router._dispatch (/root/Balloons.IO/node_modules/express/lib/router/index.js:170:5) at Object.router (/root/Balloons.IO/node_modules/express/lib/router/index.js:33:10) at Context.next (/root/Balloons.IO/node_modules/express/node_modules/connect/lib/proto.js:190:15)
adding var session = require('express-session'); app.use(session({ secret: 'here-you-shoud-enter-your-secret' })); app.use(passport.session());
gives me an " Bad gateway" error in nginx.
signing in with facebook gives no error but it does not work either.
Any help ? Thanks
The text was updated successfully, but these errors were encountered:
hi, installed Balloons.IO on my site http://chat.let.de , but it seems the express version is deprecated , when i want to login with twitter, i got this error:
Error: OAuth authentication requires session support at Strategy.OAuthStrategy.authenticate (/root/Balloons.IO/node_modules/passport-twitter/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:102:41) at Strategy.authenticate (/root/Balloons.IO/node_modules/passport-twitter/lib/passport-twitter/strategy.js:82:40) at attempt (/root/Balloons.IO/node_modules/passport/lib/passport/middleware/authenticate.js:243:16) at Passport.authenticate (/root/Balloons.IO/node_modules/passport/lib/passport/middleware/authenticate.js:244:7) at callbacks (/root/Balloons.IO/node_modules/express/lib/router/index.js:161:37) at param (/root/Balloons.IO/node_modules/express/lib/router/index.js:135:11) at pass (/root/Balloons.IO/node_modules/express/lib/router/index.js:142:5) at Router._dispatch (/root/Balloons.IO/node_modules/express/lib/router/index.js:170:5) at Object.router (/root/Balloons.IO/node_modules/express/lib/router/index.js:33:10) at Context.next (/root/Balloons.IO/node_modules/express/node_modules/connect/lib/proto.js:190:15)
adding
var session = require('express-session'); app.use(session({ secret: 'here-you-shoud-enter-your-secret' })); app.use(passport.session());
gives me an " Bad gateway" error in nginx.
signing in with facebook gives no error but it does not work either.
Any help ? Thanks
The text was updated successfully, but these errors were encountered: