Hi All,
We have developed MS WEB DAV server to handle the office files in our server side and open the office files on our client side when triggered from MS Office URI schema.
We are using MS-OFBA for user authentication
https://learn.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-ofba/26f3c38b-0a7a-4789-8980-adffaf58a110
As part of MS-OFBA we are supposed to return a login URL and then a corresponding HTML.
This HTML is being loaded by the Office client's embedded browser for user login form.
Now during the load of this HTML we are getting "script error" with "Syntax Error" popup.
We noticed that the login page uses javascript "const" which ends up with the following script error.
line 20 char 13 syntax error.
Const is supported by all the modern browsers, so not sure why the embedded browser view within office is not able to load it properly.
This is only happening in Windows , In Mac its works fine.
I am not able to find any way to debug this problem.
Can you please provide some hints on how to fix this problem ?
Version details
Windows 10
IE Version 1909 (OS Build 18363.1256)
Microsoft Edge 87.0.664.75
Microsoft Office 365 Pro Plus Version 2002 (Build 12527.21416)
.NET Version 4.8
Best Regards,
Saurav