ajout d'un echo dans le getBearer
parent
38def770f9
commit
1a32fb8c3f
|
|
@ -41,6 +41,8 @@ if [ -n "$SCOPE" ]; then
|
||||||
REQUEST_BODY="${REQUEST_BODY}&scope=${SCOPE// /%20}"
|
REQUEST_BODY="${REQUEST_BODY}&scope=${SCOPE// /%20}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "curl -s -X POST $TOKEN_URL -H Content-Type: application/x-www-form-urlencoded -d $REQUEST_BODY"
|
||||||
|
|
||||||
# Get the OAuth2 token
|
# Get the OAuth2 token
|
||||||
response=$(curl -s -X POST "$TOKEN_URL" \
|
response=$(curl -s -X POST "$TOKEN_URL" \
|
||||||
-H "Content-Type: application/x-www-form-urlencoded" \
|
-H "Content-Type: application/x-www-form-urlencoded" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue