You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using crossOrigin="use-credentials" for the Image, previews of the image still use crossorigin="anonymous" and fail to load from cross origin sources where authentication is required.
To Reproduce
Setup the labeling interface to use credentials for CORS:
Import an image dataset which uses HTTP to load the images. To reproduce you can import the following simple CSV, the image can be fake because the bug is in the <img> crossorigin attribute, it doesn't require real images or correctly configured CORS to demonstrate that its broken:
img
http://completely-fake-domain.fake/test.jpg
Open project interface to show the list of images
Inspect the image preview, observe how it has crossorigin="anonymous" instead of "use-credentials"
Expected behavior
Preview <img> should use same crossorigin settings as the <img> in the labeling interface
Describe the bug
When using
crossOrigin="use-credentials"
for the Image, previews of the image still usecrossorigin="anonymous"
and fail to load from cross origin sources where authentication is required.To Reproduce
<img>
crossorigin attribute, it doesn't require real images or correctly configured CORS to demonstrate that its broken:Expected behavior
Preview
<img>
should use same crossorigin settings as the<img>
in the labeling interfaceDocker Image:
The text was updated successfully, but these errors were encountered: