Forum Discussion

alexkovalev's avatar
alexkovalev
Copper Contributor
Feb 17, 2022

Oauth login in MS Teams 3rd party app is showing white login screen for some users on desktop

Hi, we have occasional reports from our users complaining that they cannot log into our tab application using MS OAuth. This happens very infrequently, and ONLY on the Teams desktop client - Teams web client login always works fine. The symptoms of it seem to be similar to https://techswift.org/2020/05/04/how-to-fix-a-blank-login-screen-in-microsoft-teams/,however this specifically is the login button inside the tab of our own Teams app, not the Teams application itself.


We have actually been able to reproduce this on one of our own internal company users, although we are not sure how the user got into that state. This is a screenshot of the login experience (the login popup stays blank):


The code we use to start the authentication flow is the recommended one:

microsoftTeams.authentication.authenticate()


The package versions we are using for MicrosoftTeams and ADAL are at least up to date to the ones used in the sample code from Microsoft: https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-sso/nodejs/src/client/views/auth-start.pug , so I believe that is not the issue either. (I am aware that ADAL has not been supported for a while, but it seems like Microsoft samples continue to use it for tab authentication).

Summary
- 1-2% of users are not able to log into our Tab application using the above code, and are stuck with a white screen, on Teams desktop client only
- 100% of users, including affected ones, are able to log into our Tab application on Teams web client correctly

 

 

We are trying to focus on resolving this issue for our users, is there any recommended direction we can take or at least information we can provide to our users experiencing this?

24 Replies

    • andrew1992's avatar
      andrew1992
      Copper Contributor

      ChetanSharma-msft Great, thank you.

       

      And to chime in on how we're able to currently workaround the issue:

      • In desktop Teams client: 
        • Navigate to Tab App > Click Pop out tab
        • Login via Pop out tab works as intended 
        • If I navigate back to the regular tab and click Reload Tab - I am now logged in
        • Note: If I sign out on the pop-out tab or regular tab, the white screen reappears
      • Prasad_Das-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        andrew1992 - We tried to repro the issue at our end and we are able to get Sign In prompt and were able to Sign in properly. However we are checking this with Engineering team to find out if there is any alternative.

Resources