I am working on WOPI integration and I can't seem to find any workaround after an extensive research over stackoverflow.
I have implemented two endpoints in my API (.Net CORE 3.1). One is for CheckFileInfo and other is for GetFile.
I made my localhost public using ngrok. I have implemented a host page in angular which will render the iframe and load the open office document.
I am currently using the action url from test discovery XML file, provided in the official documentation at Microsoft.
When I try to open a word document using WOPI, the page gets stuck on loading only the word logo.
When tried with an excel file, I can see a blank workbook in my iframe with a prompt saying 'Couldn't open the workbook'. Same issue for PPT files too.
WOPI is not hitting my endpoint as well.
Am I missing out on any important step? Any help appreciated.