Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 258 Bytes

File metadata and controls

14 lines (8 loc) · 258 Bytes

Nodejs server api authentication

  1. Basic authentication

    npm install basic-auth

  2. Passport is a piece of authentication middleware for Node.js

    npm install passport
    npm install passport-http