macchiato-framework / macchiato-core

Ring style HTTP server abstraction for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Offload Registration/User Auth to Passport.js

Immortalin opened this issue · comments

commented

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.

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.