From 1a46428f13494675f8d30d7933c52ce7ea29b530 Mon Sep 17 00:00:00 2001 From: Khaled <45347802+JavaDeveloper456788@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:25:39 -0800 Subject: [PATCH] Update update-kc.sh --- Keycloak/update-kc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Keycloak/update-kc.sh b/Keycloak/update-kc.sh index 94d2973..a101ad8 100644 --- a/Keycloak/update-kc.sh +++ b/Keycloak/update-kc.sh @@ -63,7 +63,7 @@ do --data-raw "$line") echo -e " Response : $result\n" default_scopes=$(echo "$line" | jq -r '.defaultClientScopes[]') - CLIENT_UUID=$(curl -s -v -w "%{http_code}" -X GET "$KC_BASE_URL/$KC_REALM_ID/clients" \ + CLIENT_UUID=$(curl -s -v -X GET "$KC_BASE_URL/$KC_REALM_ID/clients" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $TKN" \ | jq '.[] | select(.clientId=="'"$CLIENT_ID"'")' | jq -r '.id')