From aa9daa5a11d0fb8fb9bcf3df831be8370c1c6c62 Mon Sep 17 00:00:00 2001 From: Khaled <45347802+JavaDeveloper456788@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:57:25 -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 0426a38..cdf9722 100644 --- a/Keycloak/update-kc.sh +++ b/Keycloak/update-kc.sh @@ -20,7 +20,7 @@ TKN=$(curl -s \ echo -e "CREATE Roles \n" while read line do - curl -sX POST "https://$KC_BASE_URL/$KC_REALM_ID/roles \ + curl -sX POST "https://$KC_BASE_URL/$KC_REALM_ID/roles" \ --header "Authorization: Bearer $TKN" \ --header "Content-Type: application/json" \ --data-raw "$line"