diff --git a/pica-wekan/policy.sh b/pica-wekan/policy.sh
index a9b00f3d9ba16e8e916a73d80191b8a1d2b286f0..98e38850aa7b935d19239a0d5b5f2592a3232aaa 100755
--- a/pica-wekan/policy.sh
+++ b/pica-wekan/policy.sh
@@ -1,15 +1,12 @@
 #!/bin/bash
 
-. ids.sh
+. ids.sh # contient $username et $password pour authentification
 
 queryPica=$(curl -s https://wekan.test.picasoft.net/users/login -d 'username='"$username"'&password='"$password"'')
 
-token=$(echo $queryPica | jq .token)
-expirationDate=$(echo $queryPica | jq .tokenExpires)
-
-echo $token
-
+token=$(echo $queryPica | jq -r .token)
+expirationDate=$(echo $queryPica | jq -r .tokenExpires)
 
 curl -X GET https://wekan.test.picasoft.net/api/boards \
   -H 'Accept: application/json' \
-  -H 'Authorization: '"$token"''
+  -H 'Authorization: Bearer '"$token"''