rickyrauch / Balloons.IO

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
http://balloons.io
2.37k stars 493 forks source link

MySql Login Balloons.IO #107

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello, i have a database and i want users to be able to log in with their accounts from the database instead of having to use twitter or facebook auth. Please add support for this or advise me on how i can do this, it would be greatly appreciated.

impronunciable commented 10 years ago

Hi, you can add your login strategy on this file https://github.com/gravityonmars/Balloons.IO/blob/master/strategy.js (on your fork, we have no plans to add this kind of authentication strategy on the official project).

Using https://github.com/jaredhanson/passport-local should be easy.