windows-azure-storage icon indicating copy to clipboard operation
windows-azure-storage copied to clipboard

Images fail to load when using Basic Authorization

Open pablojmarti opened this issue 3 years ago • 0 comments

When using basic authorization to secure a website any references to images will fail to load due to a 403 error. When inspecting the images themselves I can see the following error.

<Error>

<Code>AuthenticationFailed</Code>

<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:ab4c726f-201e-00a1-134a-098e74000000 Time:2022-01-14T13:28:17.9667353Z</Message>

</Error>

Since this Authorization header is being set by NGINX now I am assuming that on normal requests there is an Authorization header that is passed to Azure.

I don't know if this is something that can be fixed but we might want to flag it as a known issue if not.

pablojmarti avatar Jan 14 '22 13:01 pablojmarti