Skip to content

Commit

Permalink
[wopi] Remove redundant Authorization header;Fix bug 71766
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Nov 20, 2024
1 parent a1a4fce commit b8f95f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DocService/sources/wopiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit b8f95f3

Please sign in to comment.