emartech / escher-js

Library for HTTP request signing (JavaScript implementation)
MIT License
12 stars 11 forks source link

No default expiration time for presigning a URL #24

Open abieler-sap opened 1 year ago

abieler-sap commented 1 year ago

As documented in the official Escher specification there should be a default of 86400 sec (24 h) for the expiration time when presigning a URL.

Skipping the expiration parameter of the method preSignUrl the URL parameter EMS-Expires is undefined which leads to an 401 - Unauthorized response.