AnsweredAssumed Answered

MS Word docs open authentication popup in IE

Question asked by longinus on Apr 6, 2018
Latest reply on Apr 9, 2018 by longinus

Hello All


I was wondering if anyone has found a workaround to the problem when Office documents stored in alfresco (5) are opened with the direct link in IE and authentication popup is opened.

This is due to IE opening the MS Word app, which doesn't support authentication protocol used by alfresco. MS word uses Integrated Windows Authentication and our alfresco uses Kerberos. Chrome on the other hand, doesn't start MS Word application but saves the file locally instead. this would be acceptable solution to my problem with IE but struggling to achieve that.

I tried to override the mime type to confuse IE, but my alfresco core instance doesn't start up anymore (used  application/octet-stream for docx instead of application/vnd.openxmlformats-officedocument.wordprocessingml.document).


I also tried to construct doc access link in two different ways but stumbling against  limitations:

1) this link opens auth popup:

http://<host:port>/<contextRoot>/s/api/node/content/workspace/SpacesStore/<alfcmis:nodeRef>/<file name>.docx


2) link to content i took from NodeBrowser that doesnt contain file name, so you download the file with content.docx extension each time



Is there any way to attach a file name to this link?

When you try to save document in this case the auth popup opens. Is there a way to avoid it?


Has anyone solved the MS Office auth problem in any way?


Kind Regards