Skip to content

Commit 1e6796a

Browse files
committed
Fix local keycloak realm setup.
Add missing view-users role for service account.
1 parent b7561d7 commit 1e6796a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

local-development/keycloak/realm-template.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@
3333
"maxDeltaTimeSeconds": 43200,
3434
"failureFactor": 30,
3535
"users": [
36+
{
37+
"username": "service-account-${WORKSPACE_CLIENT_ID}",
38+
"enabled": true,
39+
"serviceAccountClientId": "${WORKSPACE_CLIENT_ID}",
40+
"disableableCredentialTypes": [],
41+
"requiredActions": [],
42+
"realmRoles": [
43+
"default-roles-fairspace"
44+
],
45+
"clientRoles": {
46+
"realm-management": [
47+
"view-users"
48+
]
49+
}
50+
},
3651
{
3752
"username": "organisation-admin",
3853
"enabled": true,

0 commit comments

Comments
 (0)