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 17, 2024
1 parent dc0ea30 commit becc911
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 @@ -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"
Expand Down

0 comments on commit becc911

Please sign in to comment.