Skip to content

Commit

Permalink
Fail on error
Browse files Browse the repository at this point in the history
  • Loading branch information
KMConner committed Jun 3, 2021
1 parent e526993 commit b34fe0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ signature=$(openssl dgst -sha256 -sign <(echo "$private_key") <(printf "$request

JWT="$request_body.$signature"

curl -sS -X POST https://www.googleapis.com/oauth2/v4/token \
curl -sSf -X POST https://www.googleapis.com/oauth2/v4/token \
--data-urlencode 'grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer' \
--data-urlencode "assertion=$JWT" \
| jq -r .access_token

0 comments on commit b34fe0a

Please sign in to comment.