From 1972a0a132f144a6a06a13e0a18b37dc6e31e78b Mon Sep 17 00:00:00 2001 From: CorentinPeutin <73893307+CorentinPeutin@users.noreply.github.com> Date: Thu, 2 May 2024 15:11:46 +0200 Subject: [PATCH] Update update_annexe.sh --- update_annexes/update_annexe.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_annexes/update_annexe.sh b/update_annexes/update_annexe.sh index 96c51a3..ad7c2fb 100644 --- a/update_annexes/update_annexe.sh +++ b/update_annexes/update_annexe.sh @@ -7,6 +7,8 @@ do totp=`python3 update_annexes/totp.py --totp_key $3` echo $totp + echo 'client_id=gpf-warehouse&username='$1'&password='$2'&client_secret=BK2G7Vvkn7UDc8cV7edbCnHdYminWVw2&grant_type=password&totp='$totp + curl --request POST \ --url https://sso.geopf.fr/realms/geoplateforme/protocol/openid-connect/token \ --header "content-type: application/x-www-form-urlencoded" \