const config = {
documentType: documentType,
document: {
title: this.fileName,
url: this.fileUrl,
fileType: ext,
key:this.uuidv4(),
permissions: {
edit: false,
download: false,
print: false
}
},
// info: {
// custom: {
// authToken: getToken(),
// }
// },
}
My URL is used to call my backend API. I have confirmed that everything works normally if I disable the token authentication mechanism. However, my backend requires token authentication. I tried passing the token as a URL parameter and also adding the token field in the OnlyOffice editor config, but OnlyOffice encrypts my original token value before forwarding it. How can I make OnlyOffice forward it without encrypting it? Is there a specific config field for this, or do I need to modify the OnlyOffice server configuration? Thank you.