Attempting a minimal repro for aws/aws-sdk-js-v3#6818
- Clone this repo
- Copy
.env.temp
to.env
and fill in the values- Create a Amazon Cognito Identity pool for testing, where the role should have write access to S3 bucket.
- The S3 Bucket should have CORS enabled.
- AllowedHeaders should be
*
. - AllowedMethods should be the methods being tested.
- AllowedOrigins should be
http://localhost:5173
, or where the Vite test server is running.
- AllowedHeaders should be
- Run
npm install
Run node --run start
This will open a browser window with the response from AWS service in textarea.