I understand the difference between Passport.js\' Basic and Digest authentication, but what is the difference between the local strategy and Basic or Digest? In all three, you e
If you a using the Passport Local strategy: - a session is established, so you don't have to send creds on each request; - username and password are provided in "username" and "password" headers by default;
If you a using the Passport Basic/Digest strategies: - a session is not used, so you must provide the credentials at every API call; - username and password/hash are contained within "Authorization" header;