MSAL - Closing logout Popup does not ends user session. But still redirects me to mainWindowRedirectUri

Pranav Khedkar(Equations) 0 Reputation points
2023-08-04T13:06:23.48+00:00

When the user clicks sign out and the pop up appears, if we close the popup without actually signing out the user gets redirected to mainWindowRedirectUri.
I also tried a different approach, if I use logoutRedirect instead I still face an issue. The user gets redirected to the page where the user has to select which account to logout of but if the user decides to go back from there, the next he tries to sign out again I get and interaction in progress error. According to my understanding the PublicClientApplication instance which opened during the first attempt of sign out remains open and doesn't let a new instance to be created. I am using msal-browser javascript.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.