Last active
June 2, 2022 14:25
-
-
Save fedorov/737c7b76c7836b6d4de72f0fc1ce4eb5 to your computer and use it in GitHub Desktop.
This the template OHIF Viewer configuration file for connecting with Google Healthcare DICOM. See tutorial here: https://tinyurl.com/idc-ohif-gcp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.config = { | |
routerBasename: '/', | |
enableGoogleCloudAdapter: true, | |
// enable series filter parameter | |
filterQueryParam: true, | |
healthcareApiEndpoint: 'https://healthcare.googleapis.com/v1', | |
servers: { | |
// This is an array, but we'll only use the first entry for now | |
dicomWeb: [], | |
}, | |
// This is an array, but we'll only use the first entry for now | |
oidc: [ | |
{ | |
// ~ REQUIRED | |
// Authorization Server URL | |
authority: 'https://accounts.google.com', | |
client_id: 'CLIENT_ID_PLACEHOLDER', | |
redirect_uri: '/callback', // `OHIFStandaloneViewer.js` | |
response_type: 'id_token token', | |
scope: | |
'email profile openid https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/cloud-healthcare', // email profile openid | |
// ~ OPTIONAL | |
post_logout_redirect_uri: '/logout-redirect.html', | |
revoke_uri: 'https://accounts.google.com/o/oauth2/revoke?token=', | |
automaticSilentRenew: true, | |
revokeAccessTokenOnSignout: true, | |
}, | |
], | |
studyListFunctionsEnabled: true, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment