Skip to content

Commit

Permalink
Update update-kc.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaDeveloper456788 authored Dec 9, 2024
1 parent 2f34257 commit ff684c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Keycloak/update-kc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ do
--data-raw "$line")
echo -e " Response : $result\n"
default_scopes=$(echo "$line" | jq -r '.defaultClientScopes[]')
CLIENT_UUID=$(curl -sX GET "$KC_BASE_URL/$KC_REALM_ID/clients" \
CLIENT_UUID=$(curl -s -v -w "%{http_code}" -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')
Expand Down

0 comments on commit ff684c8

Please sign in to comment.