Clean up oidc config
This commit is contained in:
1 parent
aa768c7fd4
commit
f495ccfa3f
4 files changed
+15
-44
No files matched your search
@@ -10,9 +10,6 @@ window.config = {
|
||||
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',
|
||||
// wadoUriRoot: 'http://localhost:8899/wado',
|
||||
// qidoRoot: 'http://localhost:8899/dicom-web',
|
||||
// wadoRoot: 'http://localhost:8899/dicom-web',
|
||||
qidoSupportsIncludeField: false,
|
||||
imageRendering: 'wadors',
|
||||
thumbnailRendering: 'wadors',
|
||||
@@ -27,26 +24,15 @@ window.config = {
|
||||
},
|
||||
oidc: [
|
||||
{
|
||||
authServerUrl: 'http://127.0.0.1/auth/realms/master',
|
||||
// It looks like we have this route hardcoded in `OHIFStandaloneViewer.js`
|
||||
authRedirectUri: '/callback', // backup: /studylist\
|
||||
// Also hardcoded?
|
||||
postLogoutRedirectUri: '/logout-redirect.html',
|
||||
responseType: 'id_token',
|
||||
scope: 'openid',
|
||||
clientId: 'pacs',
|
||||
// ~ 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',
|
||||
},
|
||||
// ccc.js
|
||||
// {
|
||||
// authRedirectUri: "http://localhost:5000/callback",
|
||||
// postLogoutRedirectUri: "http://localhost:5000/logout-redirect.html",
|
||||
// responseType: "id_token token",
|
||||
// scope: "email profile openid",
|
||||
// revokeAccessTokenOnSignout: true,
|
||||
// extraQueryParams: {
|
||||
// kc_idp_hint: "crowds-cure-cancer-auth0-oidc",
|
||||
// client_id: "crowds-cure-cancer"
|
||||
// }
|
||||
// }
|
||||
],
|
||||
}
|
||||
Reference in new issue
Block a user