@azure/[email protected]@azure/[email protected]AngularJS.
The first call to acquireTokenPopup works correctly. If there is a subsequent call to acquireTokenPopup before the first one has completed, it causes the first popup to go blank, and raises a BrowserAuthError.interaction_in_progress error.
new PublicClientApplication({
auth: {
clientId: "client-id",
},
cache: {
cacheLocation: "localStorage",
storeAuthStateInCookie: false,
}
})
application.acquireTokenPopup()
setTimeout(() => {
application.acquireTokenPopup()
}, 500)
Subsequent calls to acquireTokenPopup should raise the BrowserAuthError.interaction_in_progress without interrupting the first auth flow.
This issue has not seen activity in 14 days. It will be closed in 7 days if it remains stale.
I observed the similar behavior; however, for me it was the second, most recent popup that goes blank. (still an issue in [email protected])
PR to fix issues related to blank popup windows is linked above. This will allow separate tabs to open their own popups, and prevent the first popup from breaking when a second one is opened.
Most helpful comment
PR to fix issues related to blank popup windows is linked above. This will allow separate tabs to open their own popups, and prevent the first popup from breaking when a second one is opened.