@passport-next/connect-ensure-login

v1.0.1
Login session ensuring middleware for Connect
express connect auth authn authentication

Passport-Next/connect-ensure-login

Status: NPM version Build Status Coverage Status Maintainability Dependencies SAST

About

This middleware ensures that a user is logged in. If a request is received that is unauthenticated, the request will be redirected to a login page. The URL will be saved in the session, so the user can be conveniently returned to the page that was originally requested.

Install

$ npm install @passport-next/connect-ensure-login

Docs

Please see the wiki

Need help?

Please raise an issue and/or ask a question on Stackoverflow with the passport.js tag.

Support policy

We support all node versions supported by the Node Foundation

Contributing

Please see CONTRIBUTING.md

npm i @passport-next/connect-ensure-login

Metadata

  • MIT
  • >=8.0.0
  • Passport Next Developers
  • released 12/28/2019

Downloads