From 487cdc9ba1eeae6bccaf2311e077be35ce308b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 12 Dec 2025 19:02:34 +0100 Subject: [PATCH] Remove realm roles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- compose/keycloak/probo-realm.json.tmpl | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/compose/keycloak/probo-realm.json.tmpl b/compose/keycloak/probo-realm.json.tmpl index dfb0669ad..4c1e1d228 100644 --- a/compose/keycloak/probo-realm.json.tmpl +++ b/compose/keycloak/probo-realm.json.tmpl @@ -97,7 +97,7 @@ { "name": "role", "protocol": "saml", - "protocolMapper": "saml-role-list-mapper", + "protocolMapper": "saml-user-property-mapper", "consentRequired": false, "config": { "single": "true", @@ -140,7 +140,7 @@ "temporary": false } ], - "realmRoles": ["owner"] + "realmRoles": ["admin"] }, { "username": "admin@example.com", @@ -156,23 +156,6 @@ "temporary": false } ], - "realmRoles": ["admin"] - }, - { - "username": "member@example.com", - "email": "member@example.com", - "emailVerified": true, - "enabled": true, - "firstName": "Member", - "lastName": "User", - "credentials": [ - { - "type": "password", - "value": "member123", - "temporary": false - } - ], - "realmRoles": ["member"] }, { "username": "viewer@example.com", @@ -187,8 +170,7 @@ "value": "viewer@example.com", "temporary": false } - ], - "realmRoles": ["viewer"] + ] } ] }