diff --git a/node_modules/nuxeo/lib/upload/batch.js b/node_modules/nuxeo/lib/upload/batch.js
index 09972c7..d3c110c 100644
--- a/node_modules/nuxeo/lib/upload/batch.js
+++ b/node_modules/nuxeo/lib/upload/batch.js
@@ -116,6 +116,7 @@ class BatchUpload extends Base {
'X-File-Type': blob.mimeType,
'Content-Length': blob.size,
},
+ credentials: 'include',
};
const options = this._computeOptions(opts);
return this._nuxeo.http(options);
@@ -133,6 +134,7 @@ class BatchUpload extends Base {
const opts = {
method: 'POST',
url: this._url,
+ credentials: 'include',
};
const { Promise } = this._nuxeo;