From 1a32fb8c3fd01bc7b379a2c3340c74502cf5e813 Mon Sep 17 00:00:00 2001 From: Gil Portenseigne Date: Mon, 8 Jul 2024 09:11:29 +0200 Subject: [PATCH] ajout d'un echo dans le getBearer --- .local/bin/getBearer | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.local/bin/getBearer b/.local/bin/getBearer index b060173..34084b8 100755 --- a/.local/bin/getBearer +++ b/.local/bin/getBearer @@ -41,6 +41,8 @@ if [ -n "$SCOPE" ]; then REQUEST_BODY="${REQUEST_BODY}&scope=${SCOPE// /%20}" fi +echo "curl -s -X POST $TOKEN_URL -H Content-Type: application/x-www-form-urlencoded -d $REQUEST_BODY" + # Get the OAuth2 token response=$(curl -s -X POST "$TOKEN_URL" \ -H "Content-Type: application/x-www-form-urlencoded" \