This module lets you handle authentication and authorization in one place. Allow using passport strategies for enable authentication in the whole app or in a specific router if you application also allow secure paths with specific roles and/or methods.
Still under development.
$ npm install passport-integrate-security