Auth0 Integration inside MS Teams

Hello,

I’ve been dealing with an Auth0 integration for MS Teams application that was written in React. For the purpose of the authentication, I’ve used Auth React library ( GitHub - auth0/auth0-react: Auth0 SDK for React Single Page Applications (SPA) ) and in order for it to work in MS Teams, I’ve used MS Teams library ( GitHub - OfficeDev/microsoft-teams-library-js: JavaScript library for use by Microsoft Teams apps ).

The auth flow is pretty simple:

const builtUrl = await buildAuthorizeUrl();
    authentication.initialize();
    authentication
      .authenticate({
        url: builtUrl,
        isExternal: true,
        height: 600,
      })
      .then(() => {
        // Executed inside tab to update Auth0 state
        handleRedirectCallback();
        alert("success");
      })
      .catch(() => {
        alert("error");
      });

It works OKAY on the web version on Teams, but absolutely nothing happens in the desktop version of Teams. Did you have any issues like that?
In the app logs in Auth0 I don’t even see any requests being made.

Best,
Todor

Hey did you manage to figure it out? Else what approach have you been implementing? I’m totally stuck here