I tried few plugins to implement Azure AD auto-login functionality to an Electron app, but each of them had login issues described here if I choose file system URL(file:///).
This is because Electron apps run on file system URLs and Azure AD doesn't accepts a file system URL.
As much as I know, MS Teams is build on Electron. How have they achieved it? Do I need to run a local server like electron-with-express?