From b8f95f353c67d08d63969e258e06815ab2fc58c5 Mon Sep 17 00:00:00 2001 From: Sergey Konovalov Date: Wed, 20 Nov 2024 17:39:08 +0300 Subject: [PATCH] [wopi] Remove redundant Authorization header;Fix bug 71766 --- DocService/sources/wopiClient.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DocService/sources/wopiClient.js b/DocService/sources/wopiClient.js index 120556d5..0a437c33 100644 --- a/DocService/sources/wopiClient.js +++ b/DocService/sources/wopiClient.js @@ -976,7 +976,8 @@ async function fillStandardHeaders(ctx, headers, url, access_token) { // headers['X-WOPI-CorrelationId '] = ""; // headers['X-WOPI-SessionId'] = ""; } - headers['Authorization'] = `Bearer ${access_token}`; + //remove redundant header https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/common-headers#request-headers + // headers['Authorization'] = `Bearer ${access_token}`; } function checkIpFilter(ctx, uri){