ArunaStorage / aruna

The data orchestration engine
https://aruna-storage.org
Apache License 2.0
16 stars 1 forks source link

fix: Update presign handler #159

Closed St4NNi closed 6 months ago

St4NNi commented 6 months ago

This small upgrade fixes an regression in the pre-signed URL handler.

Previous iterations had a GetOrCreate method for fetching Credentials from a proxy. This was changed during the 2.0 update resulting in an unauthorized error when making a Get call before a create call.

This update reverts this behavior on the server site. It also simplifies and removes some unnecessary redundancy in the hook handling logic.