How to pass token with DICOM JSON data source

Describe Your Question

I am trying to load OHIF Viewer with dicom json datasource. But I also need to pass token to get the json, and also I need to pass token to get dicom files as well. Is there any way I could pass the auth key like how it’s done for dicomweb. I do not have API’s for wadoUriRoot, qidoRoot, wadoRoot, I just have 2 API’s with one for fetching json and the other to fetch dicom files. I am currently using OHIF Version 3.10.

What steps can we follow to reproduce the bug?

  1. Change Data Source to dicomjson
  2. Not able to pass auth