From becc911090ced23afb6b6a70b9e0ac9e75282da9 Mon Sep 17 00:00:00 2001 From: Khaled <45347802+JavaDeveloper456788@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:54:14 -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 32876b6..f77190b 100644 --- a/Keycloak/update-kc.sh +++ b/Keycloak/update-kc.sh @@ -79,7 +79,7 @@ echo -e "CREATE Clients \n" jq -c '.[]' clients.sh | while read -r client; do result=$(curl -s -w "%{http_code}" -X POST "$KC_BASE_URL/$KC_REALM_ID/clients" \ - --header "Authorization: Bearer "$(cat Bearer "$(cat "$TKN_FILE")" " \ + --header "Authorization: Bearer "$(cat "$TKN_FILE")" " \ --header "Content-Type: application/json" \ --data-raw "$client") echo -e " Response : $result\n"