Balloons.IO is a web multi-room chat server and client ready to use. It’s built with the help of node.JS, Express, Socket.IO and Redis. Balloons uses PassportJS for authentication with Twitter and Facebook
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.
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)
addingvar 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