question

ShruthiM-4620 avatar image
0 Votes"
ShruthiM-4620 asked ·

Azure support with Electron app

Hi,

I am using Azure AD B2C for authentiction for the desktop app using Electron platform. For this I have used React library. This works fine when I run the app in Browser. But when I run the app in Electron, the pop-up just appears and disappears. Is there any way to achieve this?
In case of browser this opens a new browser window for the login pop-up, so it all works fine. But in case of Electron app, the blank pop-up just appears and disappears.

Please assist.

Thanks,
Shruthi

azure-ad-b2c
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MalleswarReddy avatar image
0 Votes"
MalleswarReddy answered ·

Hi,

You will need to connect to Electron App team as it may be blocking something in their framework to access the authentication URL.

The other side, you can also give a try with sign in redirect option.

https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-spa-sign-in?tabs=javascript

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks, Malleshwar for the quick response. I even tried the Redirect approach. Even this didnt work out for me. Will check this with Electron team. Thank you again.

0 Votes 0 ·