diff --git a/local-env/templates/realm.json.tpl b/local-env/templates/realm.json.tpl index ecb39220..a07fdb6b 100644 --- a/local-env/templates/realm.json.tpl +++ b/local-env/templates/realm.json.tpl @@ -1013,6 +1013,21 @@ "consentRequired": false, "config": {} }, + { + "name": "client-role-groups", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-client-role-mapper", + "consentRequired": false, + "config": { + "multivalued": "true", + "userinfo.token.claim": "false", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "groups", + "jsonType.label": "String", + "usermodel.clientRoleMapping.clientId": "local-dev" + } + }, { "name": "client roles", "protocol": "openid-connect",