mobcore / web-mafia

Web application version for the classic mafia game. Come contribute!
MIT License
0 stars 1 forks source link

[Code] Implement Facebook login #11

Open andytung opened 9 years ago

andytung commented 9 years ago

This is the site. http://passportjs.org/ Use this npm package. https://www.npmjs.com/package/passport-facebook

dchanman commented 9 years ago

way over my head. gonna learn how to web dev first

andytung commented 9 years ago

this shouldn't be too hard!

maknoon commented 9 years ago

this looks like oauth2 stuff. for oauth2 to work, you'll need to register our app with facebook and probably seek approval for app development in order to get the facebook_client and facebook_secret seen in the sample code for passport-facebook. i do not believe that this is within the scope of this sprint cycle just yet, so don't worry about this yet. work on the architecture of the web app first! this PR can stay open for later review though.