Skip to content

Commit 63ab2b3

Browse files
committed
Add Keycloak configuration for dcm4chee
1 parent f7d9c67 commit 63ab2b3

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

content/tutorials/dicomweb-config.en.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,45 @@ To configure a dcm4chee-arc-light node:
9898
3. Select DICOMWeb service
9999
4. Enter the URL of your dcm4chee-arc-light server. The default endpoint typically follows this pattern:
100100
{{< highlight text >}}
101-
http(s)://[server-address]:8080/dcm4chee-arc/aets/[AE_TITLE]/rs
101+
http(s)://[server-address]:[8080|8443]/dcm4chee-arc/aets/[AE_TITLE]/rs (e.g., http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs)
102102
{{< /highlight >}}
103103

104-
If authentication is required:
104+
If authentication is required in dcm4chee-arc-light, here are the steps to configure it for client access in Weasis:
105+
106+
**In Weasis:**
105107
1. Click on the *Manager* button
106108
2. Click *Add* to create a new authentication
107-
3. Select "Default Keycloak" from the templates and fill in the other required fields
109+
3. Select "Default Keycloak" from the templates and fill in the other required fields:
110+
- Name: `dcm4chee-arc-light`
111+
- Base URL: `https://[server-address]:8843`
112+
- Realm: `dcm4che`
113+
- Client ID: `weasis`
114+
- Client Secret: the secret you copied from Keycloak, see below
115+
- Scope: `openid`
116+
- Audience: leave empty
117+
118+
**In Keycloak: Add the Weasis client for DICOMWeb access:**
119+
1. Log in to the Keycloak Admin Console (typically for secure at `https://[server-address]:8843/admin/dcm4che/console`)
120+
2. To add the Weasis client:
121+
- Click on "Clients" in the left menu
122+
- Click the "Create" button
123+
124+
3. Configure the new client in general settings:
125+
- Client Type: select "OpenID Connect"
126+
- Client ID: `weasis`
127+
128+
4. Capability config:
129+
- Client authentication: ON
130+
- Standard flow: ON
131+
- Direct access grants: ON
132+
133+
5. Login settings:
134+
- Root URL: leave empty
135+
- Valid Redirect URIs: add `http://127.0.0.1*`
136+
- Web Origins: add `+` to allow any origin that matches a Valid Redirect URI
137+
- Click "Save"
138+
- Copy the Client Secret from the "Credentials" tab
139+
108140

109141
#### Amazon HealthLake
110142

0 commit comments

Comments
 (0)