Forum Discussion

heri_klue's avatar
heri_klue
Copper Contributor
Dec 26, 2023

New Teams Desktop unable to use third-party oauth provider when embedding site

By using the Website app, our users were previously able to have our site (app.klue.com) in a tab, either on the desktop, mobile or teams web app. Previously, we use the authentication flow as detailed here:  embed tab invites user to login, link would open third party oauth provider (us) in the user's browser, user authenticates, the window is closed, desktop app is notified of successful authentication and reloads the tab with the user logged in

 

The new desktop app still shows the invitation to link but any attempt to login is unsuccessful. It seems the new desktop app does not receive the authentication notification OR does not send the correct context to the OAuth idp provider. Note: it still works in mobile app, and also it still works in web app with the new teams experience enabled.

Did anyone else see a similar issue? This is frustrating for users as it was a simple quick way to have quick access to our site within Teams

6 Replies

    • Meghana-MSFT's avatar
      Meghana-MSFT
      Icon for Microsoft rankMicrosoft
      We have the following response from engineering team - The external auth flow is already supported in T2.1. The external auth flow is only available to Platform Apps and cannot be used from the Website tab. We would need more details from the developer along with repro steps for the issue they are describing because I can't imagine how something like that would be possible even in T1 using the Website tab.

      Could you please share the above details.
      • heri_klue's avatar
        heri_klue
        Copper Contributor
        Thanks Meghana-MSFT

        To reproduce
        1. In the web app or classic Teams, go to a channel in Teams, and then click + (Add a Tab) button.
        2. Choose "Website" when prompted, then specify "https://app.klue.com" as URL. Click "Save"
        3. Click Login. Feel free to email me `heri _at_ klue.com` for test credentials. The login works on classic Teams or web app but would not work for the new Desktop app

        Do you know if there are plans to support external auth flow for Website tab in T2.1?

Resources