s3proxy icon indicating copy to clipboard operation
s3proxy copied to clipboard

[cors] missing Access-Control-Allow-Credentials header

Open st-h opened this issue 3 years ago • 0 comments

When trying to access a file using a browser and a cors request that includes cookies, the request fails due to:

Credentials flag is true, but Access-Control-Allow-Credentials is not "true".

This is a browser limitation. Example of a fetch request:

fetch(url, {
    credentials: 'include',
    mode: 'cors'
})

Pull request: https://github.com/gaul/s3proxy/pull/416

st-h avatar Apr 18 '22 12:04 st-h