api-key-auth icon indicating copy to clipboard operation
api-key-auth copied to clipboard

Express/Restify middleware to authenticate HTTP requests based on api key and signature.

Results 5 api-key-auth issues
Sort by recently updated
recently updated
newest added

signatureParams.signingString += `(request-target): ${req.method.toLowerCase()} ${req.path}`; results: '(request-target): get function getPath() { return this.getUrl().pathname; } ' req.path() replace req.path ,can work

This looks like exactly what I need for securing my simple API, however, the example usage makes it seem like I can easily set an API key, pass that as...

added Check if "required headers" param not exists use the date HTTP header by default

When I attempt to authenticate with my API using the API key and secret that I have set, it throws the following error no matter what url path I attempt...

added Check if "requiredHeaders" param not exists use the date HTTP header by default