@passport-next/connect-ensure-login

1.0.1 • Public • Published

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

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

    Package Sidebar

    Install

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

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    9.18 kB

    Total Files

    8

    Last publish

    Collaborators

    • rwkyqwertee
    • brettz9
    • adamhathcock
    • guyellis