Hello Everyone,
We are using electron browser window to show third party web app, and that web app asks for authentication popup, which is not working with electron window, it just makes screen white where as if we try same URL in chrome browser, it works fine.
Electron browser window is blocking authentication popup, and it becomes white screen. Its showing blank page for the redirect for the NTLM popup.
createWindow(url: string, devTools: boolean) {
const window = new BrowserWindow({
...this.settings,
show: false,
webPreferences: {
preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
contextIsolation: true,
},
});
window.loadURL(url);
if (devTools) window.webContents.openDevTools();
window.webContents.on('did-fail-load', (event, errorCode, errorDescription) => {
console.log(An error occurred: ${errorDescription});
});
return window;
}