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
- I have setup secure instance DCM4CHEE on cloud machine. It is using keycloak as auth provider. Referred instructions here .
- For simulation i have an instance of ORTHANAC PACS running on my laptop.
- 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.
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.

b) Added this dicomModality within Orthanac and MIRTH Connect.
c) Added a lua script to enable auto routing.
function OnStoredInstance(instanceId, tags, metadata)
SendToModality(instanceId, 'MIRTHCONNECT')
end
Thank you,
Shraddha