Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 29, 2025
1 parent 5d8954d commit 092527f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions config_job.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ GRANT
local realm_name=$1
echo "Creating realm: $realm_name"
# Check if realm exists
curl -s -o /dev/null -w %%{http_code} \
-H "Authorization: Bearer $KC_TOKEN" \
"$KC_URL/auth/admin/realms/$realm_name"
# Create realm
curl -s -X POST \
-H "Authorization: Bearer $KC_TOKEN" \
Expand All @@ -113,11 +108,6 @@ GRANT
echo "Creating admin user: $username in realm $realm"
# Check if user exists
curl -s \
-H "Authorization: Bearer $KC_TOKEN" \
"$KC_URL/auth/admin/realms/$realm/users?username=$username"
# Create user
curl -s -X POST \
-H "Authorization: Bearer $KC_TOKEN" \
Expand Down Expand Up @@ -227,8 +217,6 @@ GRANT
curl -s \
-H "Authorization: Bearer $KC_TOKEN" \
"$KC_URL/auth/admin/realms/$realm/clients?clientId=$client_id"
echo $id
}
# Add protocol mapper to client
Expand Down

0 comments on commit 092527f

Please sign in to comment.