From b2b8fb80e7ab2543b796b739f8711f85646c7934 Mon Sep 17 00:00:00 2001 From: Nithin Shekar Kuruba Date: Wed, 11 Dec 2024 16:11:22 -0800 Subject: [PATCH] feat: update user profile settings to include vc --- .../26/keycloak-default-user-profile.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docker/keycloak/configuration/26/keycloak-default-user-profile.json b/docker/keycloak/configuration/26/keycloak-default-user-profile.json index 231984e3..51bae45b 100644 --- a/docker/keycloak/configuration/26/keycloak-default-user-profile.json +++ b/docker/keycloak/configuration/26/keycloak-default-user-profile.json @@ -49,6 +49,29 @@ "length": { "max": 255 }, "person-name-prohibited-characters": {} } + }, + { + "name": "vc_presented_attributes", + "displayName": "${vc_presented_attributes}", + "validations": { + "length": { + "min": "0", + "max": "25000" + } + }, + "annotations": {}, + "required": { + "roles": ["admin", "user"], + "scopes": ["digitalcredential"] + }, + "permissions": { + "view": ["admin"], + "edit": ["admin"] + }, + "selector": { + "scopes": ["digitalcredential"] + }, + "multivalued": false } ], "groups": [