Skip to content

Opening external Android app during auth flow in Android WebView in MS Teams #2973

@pwittchen

Description

@pwittchen

Hi,

Can you please tell me, what is the recommended flow and good practices if I want to perform an authentication flow with external Android authenticator app with MS teams? In the custom flow, custom auth website is opening and I want to open authenticator app after clicking on the link on the website on the phone. I know that deep links are probably blocked in the authentication flow in the WebView. Can I use regular links and Android App Links mechanism in Android authenticator app to handle link from the MS Teams Android app? Default Android WebView should handle that, but I don't know how it's implemented in MS Teams Android app. Or the website should use functions from the MS Teams JS library? Is openLink function recommended in that case? Will it open an external browser on the device, therefore Android App Links will be handled? Or will it open inside the WebView? Or should I use pure JS window.open function for opening the link?

My main goal is to open external authenticator app after clicking the link inside the WebView in the MS Teams for Android during the auth flow.

I'm looking forward to your help and recommendations.

Regards,
Piotr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions