The middleware will now check incoming requests to match the credentials admin:supersecret. The middleware will check incoming requests for a basic auth (Authorization) header, parse it and check if the credentials are legit. If there are any credentials, an auth property will be added to the request, containing an object with user and password …
-
Updated
Sep 7, 2022 - JavaScript