openseadragon / openseadragon

An open-source, web-based viewer for zoomable images, implemented in pure JavaScript.
http://openseadragon.github.io/
BSD 3-Clause "New" or "Revised" License
3.04k stars 596 forks source link

OpenSeaDragon doesn't send cookie to Cloud CDN #2540

Open marcosocamargo opened 5 months ago

marcosocamargo commented 5 months ago

OSD doesn't send cookie with ajax request even when ajaxWithCredentials is set to true and crossOriginPolicy set to "use-credentials". Any ideas on what to do? I am using signed cookies to access Google Cloud storage bucket.

Thanks, -Marcos

iangilman commented 5 months ago

Is this for the tilesource or the tiles? If the latter, do you also have loadTilesWithAjax turned on?

I don't know much about working with cookies. Aren't they just automatically applied? Do they work across domain?

marcosocamargo commented 5 months ago

I don't think they work across domains. I am working with Google and I will post the results. Thanks, -Marcos

On Mon, Jun 10, 2024 at 9:20 AM Ian Gilman @.***> wrote:

Is this for the tilesource or the tiles? If the latter, do you also have loadTilesWithAjax turned on?

I don't know much about working with cookies. Aren't they just automatically applied? Do they work across domain?

— Reply to this email directly, view it on GitHub https://github.com/openseadragon/openseadragon/issues/2540#issuecomment-2158806976, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFLR7JJ3CAALSTH5TENJDZDZGXG6LAVCNFSM6AAAAABI7CVYPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJYHAYDMOJXGY . You are receiving this because you authored the thread.Message ID: @.***>