Forum Discussion

RobDiazMarino's avatar
RobDiazMarino
Copper Contributor
Jun 22, 2020

Closing a Tab Configuration Dialog Orphans Authentication Pop-up Window

Hi there,

 

Our team has encountered a bug with MS Teams handling of an authentication popup window when launched through a Tab Configuration dialog.

 

Repro steps:
1) Go to a Team channel and click the + button to add a new tab.

2) Select an app that requires authentication as part of the tab configuration process.

3) Initiate the authentication process.  The authentication pop-up window should appear.

4) Before the authentication pop-up completes, close the Tab configuration dialog.

 

Expected results:  The authentication pop-up window should be closed/cancelled when the tab configuration dialog is closed, or closed when the notifySuccess/notifyFailure events are triggered.

 

Actual results: The authentication pop-up continues running, and doesn't close on completion (likely because Teams is no longer listening for the notifySuccess/notifyFailure events).

Resources