programsam / binkjs

Music archival site BINK, rewritten as a Node.js express app
0 stars 1 forks source link

OAuth admin #12

Open programsam opened 6 years ago

programsam commented 6 years ago

Whether or not we do OAuth in general, admin for BINKjs should be done using OAuth. Get rid of the stupid shared password. Add people who had admin before so if they need to log in it's not a big deal. Reese, Josh... is that it?

Facebook is best bet because of people's familiarity and already being logged in and BINK is already an app on Facebook.

So this issue is to just replace the simple password based login with OAuth that lets the original admins login using their Facebook ID.

programsam commented 6 months ago

https://www.npmjs.com/package/passport Would make it really easy to integrate with an existing account provider like Facebook, Twitter, Google… we wouldn’t have to share passwords any more.