I have files hosted on Amazon S3 and I want to upload them after processing in my application. To view this application, an HTTP authorization header is required. Here is the process:
- View request
/file/xxx with required Authorization header - If access to the application is granted, some treatment is performed.
- Create a signed S3 URL and redirect it
The fact is that the request header is also being redirected and is in conflict with the Amazon S3 signature, I have the following error message:
You must specify either a string parameter of the signature line or an authorization header, and not both
So, is there a way to not extend the Authorization header to S3?
Please note that I tested all 3xx HTTP codes. Thanks in advance.
source share