Skip to content

fix: Update presign handler#159

Merged
St4NNi merged 1 commit intomainfrom
fix/presigned_urls
Apr 19, 2024
Merged

fix: Update presign handler#159
St4NNi merged 1 commit intomainfrom
fix/presigned_urls

Conversation

@St4NNi
Copy link
Copy Markdown
Member

@St4NNi St4NNi commented Apr 19, 2024

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.

@St4NNi St4NNi requested a review from das-Abroxas April 19, 2024 08:45
Copy link
Copy Markdown
Contributor

@das-Abroxas das-Abroxas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This behavior is much better for users if they really only have to register at a proxy once instead with each of his authorization tokens individually. Good work 👍

@St4NNi St4NNi merged commit d5de8a9 into main Apr 19, 2024
@St4NNi St4NNi deleted the fix/presigned_urls branch April 19, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants