Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy should return informational errors when authorization fails #18

Open
vagaerg opened this issue May 23, 2024 · 0 comments
Open

Proxy should return informational errors when authorization fails #18

vagaerg opened this issue May 23, 2024 · 0 comments

Comments

@vagaerg
Copy link
Member

vagaerg commented May 23, 2024

At the moment, any invalid authorization will return a 403 error with no meaningful description. There is no way for the caller to know whether the request failed because of a malformed/illegal authorization or a validly formatted but unauthorized one.

The S3 API includes specific error statuses for each of these cases - https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html

As originally discussed in #11 - #11 (comment) - this should be implemented in order to retain full S3 compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant