I found it out myself, it worked after removing:
“UncheckedResources” : [ “/plugins/explorer.js”, “/system” ], “UncheckedLevels” : [ “system” ]}
Don’t understand why though…
Strange, WADO is treated as system call.
But I need the DicomUID in my token verification. Is there any way to configure the Authorization Plugin so that the WADO call also gives the StudyInstanceUid?
All the callbacks registered by Orthanc plugins are considered as system calls, because Orthanc cannot know anything about the internals of the plugins that extend its core.
But I need the DicomUID in my token verification. Is there any way to configure the Authorization Plugin so that the WADO call also gives the StudyInstanceUid?
Your Web service for authorization should make a reverse call to “/tools/lookup” URI in the REST API of Orthanc to identify the DICOM instance given its SOP Instance UID, then query its parent study.
For instance, if “1.3.46.670589.11.0.0.11.4.2.0.8743.5.5396.2006120114290050504” is the SOP Instance UID that is queried by WADO, here is a sequence of 2 calls to find the Study Instance UID of this instance: