Orthanc vs Slicer integration via DicomWeb

Hi everybody,
I have implemented the Orthanc authorization service example, starting from here orthanc-auth-service/minimal-setup/keycloak at main · orthanc-team/orthanc-auth-service · GitHub. Now I have the need to interact with Slicer for retrieving and sending data. When I started using just username and password authentication in Orthanc I managed to integrate both the application using from Slicer this kind of url http://user:pwd@orthancurl/dicomweb/ . Now how can I manage this integration? I know that in Slicer it’s not possible to insert in other form a token generated by keycloak. Any suggestion?
Tks,
Gio

Hi everybody, regarding my previous question I was wondering If I can add a custom button in Orthanc Explorer 2 at Study Item level that is quite simlar to the “Share” button, and that shows a modal like the Share Modal, with just a link formatted as follows: https://slicer:keycloak_access_token@orthancUrl/dicomweb/?studyInstanceUid=1234 in order to let the physician to use this link inside Slicer, from the dicomweb page browser and download or upload some image/seg from and to the study. What do you think? Is that feasable? I’m not sure I can I do that, is that possible to open a custom modal from the custom button and is it possible to access to the ‘window.keycloak.token’?
Tks a lot,
Gio

Hi,

No, it is not possible to customize a modal with the configuration file.
You’ll need to fork OE2 in order to implement it.

Alain