ajout d'un echo dans le getBearer

main
Gil Portenseigne 2024-07-08 09:11:29 +02:00
parent 38def770f9
commit 1a32fb8c3f
1 changed files with 2 additions and 0 deletions

View File

@ -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" \