Entre temps, j’ai ete au bout avec rclone en mettant la valeur du secret ID lors de la création et non le secret id
Les screens confirme la valeur du secret id (ou je me trompé) et l’url , j’avais pas compris ça dans la doc .
J’ai plus d’erreur mais j’arrive sur une page blanche et rien ne se passe
[2022-10-26 15:33:38]DEBUG : ajax:: redirectURI:'https://login.microsoftonline.com/common/oauth2/v2.0/authorize?access_type=offline&client_id=xxxxxxxxxxxx&response_type=code&redirect_uri=https://xxxxxxxx.eu.jeedom.link/plugins/cloudsyncpro/core/php/CSRedirectURI.php&scope=Files.Read+Files.ReadWrite+Files.Read.All+Files.ReadWrite.All+Sites.Read.All+offline_access&state=xxxxxxxxxx'
[2022-10-26 15:33:39]DEBUG : redirectURI:: QUERY_STRING:'code=xxxxxxxxxxxxxxxxxxx&state=exxxxxxxxxxxxxxxxxxxxxxx'
[2022-10-26 15:33:39]DEBUG : redirectURI:: output:array ( 'code' => 'xxxxxxxxxxxxx', 'state' => 'xxxxxxxxxxxxxxxxxxxxx=', )
[2022-10-26 15:33:39]DEBUG : redirectURI:: data:array ( 'type' => 'onedrive', 'logicalId' => 402, )
[2022-10-26 15:33:40]DEBUG : redirectURI:: response:GuzzleHttp\Psr7\Response::__set_state(array( 'reasonPhrase' => 'OK', 'statusCode' => 200, 'headers' => array ( 'Cache-Control' => array ( 0 => 'no-store, no-cache', ), 'Pragma' => array ( 0 => 'no-cache', ), 'Content-Type' => array ( 0 => 'application/json; charset=utf-8', ), 'Expires' => array ( 0 => '-1', ), 'Strict-Transport-Security' => array ( 0 => 'max-age=31536000; includeSubDomains', ), 'X-Content-Type-Options' => array ( 0 => 'nosniff', ), 'P3P' => array ( 0 => 'CP="DSP CUR OTPi IND OTRi ONL FIN"', ), 'x-ms-request-id' => array ( 0 => '3a3fe45a-fbf7-42cb-83b7-746a7d011a01', ), 'x-ms-ests-server' => array ( 0 => '2.1.13943.8 - WEULR1 ProdSlices', ), 'X-XSS-Protection' => array ( 0 => '0', ), 'Set-Cookie' => array ( 0 => 'fpc=Au9Wqvq3yjREp1KfdUR6d3D43qnAAQAAADMu69oOAAAA; expires=Fri, 25-Nov-2022 13:33:40 GMT; path=/; secure; HttpOnly; SameSite=None', 1 => 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 2 => 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', ), 'Date' => array ( 0 => 'Wed, 26 Oct 2022 13:33:40 GMT', ), 'Content-Length' => array ( 0 => '1746', ), ), 'headerNames' => array ( 'cache-control' => 'Cache-Control', 'pragma' => 'Pragma', 'content-type' => 'Content-Type', 'expires' => 'Expires', 'strict-transport-security' => 'Strict-Transport-Security', 'x-content-type-options' => 'X-Content-Type-Options', 'p3p' => 'P3P', 'x-ms-request-id' => 'x-ms-request-id', 'x-ms-ests-server' => 'x-ms-ests-server', 'x-xss-protection' => 'X-XSS-Protection', 'set-cookie' => 'Set-Cookie', 'date' => 'Date', 'content-length' => 'Content-Length', ), 'protocol' => '1.1', 'stream' => GuzzleHttp\Psr7\Stream::__set_state(array( 'stream' => NULL, 'size' => NULL, 'seekable' => true, 'readable' => true, 'writable' => true, 'uri' => 'php://temp', 'customMetadata' => array ( ), )), ))
[2022-10-26 15:33:40]INFO : redirectURI:: body:array ( 'token_type' => 'Bearer', 'scope' => 'Files.Read Files.ReadWrite Files.Read.All Files.ReadWrite.All', 'expires_in' => 3600, 'ext_expires_in' => 3600, 'access_token' => 'xxxxxxxxxxxxxxxxxxxxxxx', 'refresh_token' => 'xxxxxxxxxxxxxxxxxxxxxxxx', )
[2022-10-26 15:33:40]DEBUG : loadConfigFile::
[2022-10-26 15:33:40]DEBUG : loadConfigFile:: rclone.conf:array ( 402 => array ( 'type' => 'onedrive', 'client_id' => 'xxxxxxxxxx', 'client_secret' => 'xxxxxxxxxxxxxxxx', 'token' => '{"access_token":xxxxxxxxxxxxxxx==","token_type":"Bearer","refresh_token":"xxxxxxxxxxxxx","expiry":"2022-10-26T16:29:55+02:00"}', 'drive_id' => 'xxxxxxxxxxxxxxxx', 'drive_type' => 'personal', ), )
[2022-10-26 15:33:40]DEBUG : saveConfigFile:: array:array ( 402 => array ( 'type' => 'onedrive', 'client_id' => 'xxxxxxxxxxxxxb', 'client_secret' => 'uXf8Q~TB3SuxPrXa~Y~ArSPo9H3-2NFmqX1-ma0L', 'token' => '{"access_token"xxxxxxx==","token_type":"Bearer","refresh_token":"xxxxxxxxxxxx","expiry":"2022-10-26T16:33:40+02:00"}', 'drive_id' => 'xxxxxxxxxxxf', 'drive_type' => 'personal', ), )
[2022-10-26 15:33:40]DEBUG : saveConfigFile:: content:'[402] type = onedrive client_id =xxxxxxxxxx client_secret = uXf8Q~Txxxxxxxx-ma0L token = {"access_token":"xxxxxx==","token_type":"Bearer","refresh_token":"xxxxxxx","expiry":"2022-10-26T16:33:40+02:00"} drive_id = xxxxxxxxxxxx drive_type = personal '
PS : J’ai caché les infos perso mais tout est bien rempli