I am working on an Excel Addin project using asp.net core 3.1. I want to open a popup to enable users to log in to the system using Azure Ad authentication. I use window.open("url") but this always returns null regardless of the fact that I already disable the popup blocker in IE.
I am using Excel 365, Window 10 enterprise version 1809, Internet Explorer version 11.1577.17763.0.
Note that I cannot user Dialog API for office because the Msal library for Azure Ad authentication uses window.open behind the scene.
Can anyone provide me some hints on this issue?
question from:
https://stackoverflow.com/questions/65928247/cannot-open-popup-in-excel-web-addin-vs2019 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…