Issue in Authenticated transfer of Studies from One PACS to DCM4CHEE

65 views
Skip to first unread message

Shraddha Agrawal

unread,
Jul 23, 2024, 12:45:20 PM7/23/24
to dcm4che
Hi, 

Tldr, I am trying to simulate the automated flow of dicom studies from different labs to DCM4CHEE instance hosted by me. While doing so i am facing some challenges in verifying the authenticated flow. 


My Setup
  1. I have setup secure instance DCM4CHEE on cloud machine. It is using keycloak as auth provider. Referred instructions here .
  2. For simulation i have an instance of ORTHANAC PACS running on my laptop. 
  3. I also have the MIRTH Connect setup on my laptop. MIRTH has this continous running channel to do the transfer. 

What is working ?
  • Automated transfer of images from ORTHANAC PACS to DCM4CHEE. I can view the studies from DCM4CHEE ui  as soon as i upload to ORTHANAC PACS. I have the logs with status success in MIRTH CONNECT. 
resultstudies.png
What is not working ?
  • Authenticated flow is not getting invoked. I have intentionally not set token in MirthConnect Destination  but even then i am able to send the study. Looks it is not hitting keycloak for the new client at all. 
Actions i took:

a) Created a device (testshraddhalab) and added a network AET within it. 
dcm4cheeshraddhadevice.png
dcm4cheeshraddhaaet.png
b) Added this dicomModality within Orthanac and MIRTH Connect. 
mirthsource.pngmirthdestination.png
c) Added a lua script to enable auto routing. 
function OnStoredInstance(instanceId, tags, metadata)
  SendToModality(instanceId, 'MIRTHCONNECT')
end

d) I did some whitelisting based on input here , https://groups.google.com/g/dcm4che/c/SHnS97iQ4Mw/m/wU32qPOfAgAJ

e) Created a key cloak client. 
keycloakclient1.pngkeycloakclient2.png
f) Added this to testshraddhadevice. 
devicekeycloakclientmapping.png
Help is appreciated. 

Thank you,
Shraddha

Shraddha Agrawal

unread,
Jul 23, 2024, 12:56:14 PM7/23/24
to dcm4che
Attaching inserted images as screenshots as well for better readability
devicekeycloakclientmapping.png
mirthdestination.png
dcm4cheeshraddhaaet.png
mirthsource.png
keycloakclient2.png
keycloakclient1.png
dcm4cheeshraddhadevice.png
resultstudies.png
Reply all
Reply to author
Forward
0 new messages