ohif-viewer/public/config/example_openidc.js

39 lines
1015 B
JavaScript
Raw Normal View History

2019-05-05 03:49:46 +02:00
window.config = {
// default: '/'
routerBasename: '/',
// default: ''
relativeWebWorkerScriptsPath: '',
servers: {
dicomWeb: [
{
name: 'Orthanc',
wadoUriRoot: 'http://127.0.0.1/pacs/wado',
qidoRoot: 'http://127.0.0.1/pacs/dicom-web',
wadoRoot: 'http://127.0.0.1/pacs/dicom-web',
qidoSupportsIncludeField: false,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
requestOptions: {
auth: 'orthanc:orthanc',
logRequests: true,
logResponses: false,
logTiming: true,
},
},
],
},
oidc: [
{
2019-05-07 21:42:11 +02:00
// ~ REQUIRED
// Authorization Server URL
authority: 'http://127.0.0.1/auth/realms/master',
client_id: 'ohif-viewer',
redirect_uri: '/callback', // `OHIFStandaloneViewer.js`
response_type: 'id_token',
scope: 'openid', // email profile openid
// ~ OPTIONAL
post_logout_redirect_uri: '/logout-redirect.html',
2019-05-05 03:49:46 +02:00
},
],
}