We have a SharePoint Server 2016 farm and I've implemented Office Online Server.
On static pages we have urls like
<a href='/doclib/test.pdf'>view pdf</a>. After i installed Office Online Server, anonymous users are getting login promt for Office files.
Document library and Documents permissions have anonymous access permission. Before the Office Online Server there was no problem like this. But now SharePoint asking authentication when they click the href.
i will use
href='/_layouts/15/WopiFrame.aspx?sourcedoc=/doclib/test.pdf'> but there are hundreds of urls and web parts which calling pdfs like i mentioned.
Any help? Thank you.