Make sure we're setting our bearer token; not basic auth

This commit is contained in:
dannyrb 2019-05-08 13:03:17 -04:00
parent 5e8f5360b6
commit acbb593cec

View File

@ -13,11 +13,14 @@ window.config = {
qidoSupportsIncludeField: false, qidoSupportsIncludeField: false,
imageRendering: 'wadors', imageRendering: 'wadors',
thumbnailRendering: 'wadors', thumbnailRendering: 'wadors',
// REQUIRED TAG:
// https://github.com/OHIF/ohif-core/blob/59e1e04b92be24aee5d4402445cb3dcedb746995/src/studies/retrieveStudyMetadata.js#L54
requestOptions: { requestOptions: {
auth: 'orthanc:orthanc', // auth: 'orthanc:orthanc', // undefined to use JWT + Bearer auth
logRequests: true, requestFromBrowser: true,
logResponses: false, // logRequests: true,
logTiming: true, // logResponses: false,
// logTiming: true,
}, },
}, },
], ],