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
I have tried to use jwt as authentication to get image from backend, however failed to do so, I used the code below, but it seems that it still is unauthorized, any idea about how to do this? cornerstoneNIFTIImageLoader.nifti.configure({ beforeSend(xhr) { xhr.setRequestHeader('Authorization', jwt); } });
Reference from wadoimageloader
wadoImage loader https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/master/docs/Configuration.md,
Any help will be highly appreciated!
The text was updated successfully, but these errors were encountered:
Hi there,
I have tried to use jwt as authentication to get image from backend, however failed to do so, I used the code below, but it seems that it still is unauthorized, any idea about how to do this?
cornerstoneNIFTIImageLoader.nifti.configure({ beforeSend(xhr) { xhr.setRequestHeader('Authorization', jwt); } });
Reference from wadoimageloader
wadoImage loader https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/master/docs/Configuration.md,
Any help will be highly appreciated!
The text was updated successfully, but these errors were encountered: