This commit is contained in:
Jason Ertel
2024-11-01 16:18:40 -04:00
parent 755cfb4e13
commit c9f6b5206a
2 changed files with 3 additions and 3 deletions

View File

@@ -242,7 +242,7 @@ function createClient() {
"grant_types": [ "client_credentials" ], "grant_types": [ "client_credentials" ],
"response_types": [ "code" ], "response_types": [ "code" ],
"metadata": { "metadata": {
"note": "$note" "note": "$note",
"searchUsername": "" "searchUsername": ""
} }
} }

View File

@@ -170,8 +170,8 @@ function manage_client() {
note=$(echo "$request" | jq -r .note) note=$(echo "$request" | jq -r .note)
log "Performing client '$op' for client with name '$name' and note '$note'" log "Performing client '$op' for client with name '$name' and note '$note'"
response=$(so-client "$op" --name "$name" --note "$note" --json) response=$(so-client "$op" --name "$name" --note "$note" --json)
webResponse=$response
exit_code=$? exit_code=$?
webResponse=$response
;; ;;
delete) delete)
client_id=$(echo "$request" | jq -r .id) client_id=$(echo "$request" | jq -r .id)
@@ -190,8 +190,8 @@ function manage_client() {
client_id=$(echo "$request" | jq -r .id) client_id=$(echo "$request" | jq -r .id)
log "Performing '$op' operation for client '$client_id'" log "Performing '$op' operation for client '$client_id'"
response=$(so-client "$op" --id "$client_id" --json) response=$(so-client "$op" --id "$client_id" --json)
webResponse=$response
exit_code=$? exit_code=$?
webResponse=$response
;; ;;
update) update)
client_id=$(echo "$request" | jq -r .id) client_id=$(echo "$request" | jq -r .id)