OfficeDev / Microsoft-Teams-Samples

Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
MIT License
1.02k stars 776 forks source link

`OAuthPrompt` not successfully calling back on Android #902

Open ramfattah opened 1 year ago

ramfattah commented 1 year ago

Versions

What package version of the SDK are you using: 4.19.1 What nodejs version are you using: 18.6 What os are you using: Android 13

Describe the bug

On Android: OAuthPrompt() does not trigger next step in WaterfallDialog after PostSigninCallback, we are also unable to get token from Microsoft.

On Web/Desktop/IOS: Everything works as expected.

To Reproduce

On Android:

  1. Create a WaterfallDialog with an OAuthPrompt and some arbitrary callback step
  2. Trigger the WaterfallDialog with some login command
  3. Authenticate with OAuth provider
  4. Notice second step was not triggered
  5. Fail to get user token from CloudAdapter

Expected behavior

We expect that the second step is fired after successfully authenticating with OAuth Provider

Additional context

This seems to be very similar to the issue described here: https://learn.microsoft.com/en-us/answers/questions/837781/in-mobile-user-is-not-able-to-login-in-the-tab

Original post: microsoft/botbuilder-js/issues/4438

ramfattah commented 1 year ago

Transferred from botbuilder-js to OfficeDev/Microsoft-Teams-Samples as this issue is related to Teams.

ramfattah commented 1 year ago

Hi Teams,

It appears there is an issue with Teams Authentication in Android devices. Could we please verify when this will be addressed in near future?

Thanks.

ramfattah commented 1 year ago

CC @isweetland @jineshjin

sayali-MSFT commented 1 year ago

@ramfattah -Thanks for reporting your issue. We already raised bug for the same and concerned team is looking into it. We will inform you once we get any update.

jineshjin commented 1 year ago

@sayali-MSFT @ChetanSharma-msft Do we have any update on this?

sayali-MSFT commented 1 year ago

@jineshjin @ramfattah -Sorry for delay in response!! We are actively checking the status of bug with engineering team and let you know the updates, if we have any.

ChetanSharma-msft commented 10 months ago

@jineshjin @ramfattah -Sorry for delay in response!! We are actively checking the status of bug with engineering team and let you know the updates, if we have any.