macchiato-framework / macchiato-core

Ring style HTTP server abstraction for Node.js
MIT License
378 stars 35 forks source link

Offload Registration/User Auth to Passport.js #36

Open Immortalin opened 6 years ago

Immortalin commented 6 years ago

Users should not be doing password hashing, registration stuff etc. by hand. Node.js already has really good support in the form of passport.js. The equivalents in other frameworks are Devise and Django-allauth.

yogthos commented 6 years ago

It should be possible to use any Node modules such as passport directly from Macchiato. I'd be open to a registration/auth wrapper library based on Passport.js.