From acbb593cec671d223aa0b13020f1201bb016e987 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Wed, 8 May 2019 13:03:17 -0400 Subject: [PATCH] Make sure we're setting our bearer token; not basic auth --- public/config/example_openidc.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/public/config/example_openidc.js b/public/config/example_openidc.js index ccfb4a32d..0ff0c37a4 100644 --- a/public/config/example_openidc.js +++ b/public/config/example_openidc.js @@ -13,11 +13,14 @@ window.config = { qidoSupportsIncludeField: false, imageRendering: 'wadors', thumbnailRendering: 'wadors', + // REQUIRED TAG: + // https://github.com/OHIF/ohif-core/blob/59e1e04b92be24aee5d4402445cb3dcedb746995/src/studies/retrieveStudyMetadata.js#L54 requestOptions: { - auth: 'orthanc:orthanc', - logRequests: true, - logResponses: false, - logTiming: true, + // auth: 'orthanc:orthanc', // undefined to use JWT + Bearer auth + requestFromBrowser: true, + // logRequests: true, + // logResponses: false, + // logTiming: true, }, }, ],