Skip to content

Commit

Permalink
Merge pull request #63 from adorsys/jq-on-rest-api-client
Browse files Browse the repository at this point in the history
Modified jq to run on old linux for rest-api-client
  • Loading branch information
forkimenjeckayang authored Jul 24, 2024
2 parents 4020e21 + 05fadd7 commit 0d8885d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.oid4vci_test_deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ echo "Creating OID4VCI client..."
$KC_INSTALL_DIR/bin/kcadm.sh create clients -o -f - < $WORK_DIR/client-oid4vc.json || { echo 'OID4VCIClient creation failed' ; exit 1; }

# Passing openid4vc-rest-api.json to jq to fill it with the secret before exporting config to keycloak
CONFIG=$(jq --arg CLIENT_SECRET "$CLIENT_SECRET" '.secret = $CLIENT_SECRET' $WORK_DIR/openid4vc-rest-api.json)
CONFIG=$(cat $WORK_DIR/openid4vc-rest-api.json | jq --arg CLIENT_SECRET "$CLIENT_SECRET" '.secret = $CLIENT_SECRET')

# Create client for openid4vc-rest-api
echo "Creating OPENID4VC-REST-API client..."
Expand Down

0 comments on commit 0d8885d

Please sign in to comment.