Getting 401 Unauthorized Error while loading studies in OHIF Viewer from ORTHANC server

Hi All,

I am getting a 401 Unauthorized Error when loading studies in OHIF Viewer with the ORTHANC PACS server.
I am only getting this error when I turn on Orthanc’s basic HTTP authentication; if basic HTTP authentication of Orthanc is off, then studies are loading perfectly.

I am running my Orthanc PACS server behind an IIS server using reverse proxy. and I have setup all the necessary headers that are required so that I can get rid of CROS issues.

what’s the possible solution for this error. is there something that I am missing on OHIF configuration file or either on ORTHANC configuration file.

Please guide me about it if anybody faces this same issue.

Regards
Farooq Butt