-
-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ajax headers in viewer don't get propagated to navigator #2502
Comments
Wow, that looks like a bug! To fix it, we will need to pass Line 496 in 9b7fc46
... And probably also call Line 1104 in 9b7fc46
Possibly there are other ajax-related properties that should be propagated? You're welcome to make a PR if you'd like! Otherwise, you could probably work around it like so:
|
Thank you, I have ingested the current alternative solution. If I have time in the later future, I'll add a PR to the fix as well. When using the alternative, I found that there are no TYPES created for angular TS on the mentioned functions. So the second problem is that I need to write for the developers of TYPES for OSD - @types/openseadragon, that they don't have access to multiple functionalities. |
The |
Could someone please advise me how to add an Authorization token to the NAVIGATOR request header when using TileSource (via URL) ?
Currently I have added the authorization token only for the Viewer, which unfortunately does not forward it to the navigator and its requests.
My code looks like this for now:
What I figured out is that the viewer has ajaxHeader set, but the navigator doesn't - here's the console output:
Can anyone please help me how I can get that authorization to the navigator as well ?
The text was updated successfully, but these errors were encountered: