MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
288 stars 511 forks source link

[Blocker-Question] What's the minimum version of Teams Client starting to support the "External oAUTH API"? #10269

Open kafka-yu opened 10 months ago

kafka-yu commented 10 months ago

Hi Team,

Question, regarding this API: https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/tabs/how-to/authentication/auth-oauth-provider.md

Do you know what is the minimum version of Teams client that supports this API? We found one case on iOS, the Teams client version is 2.0.17, which doesn't work. It cannot jump back to the teams tab after the browser window open. (This browser looks like is not the external browser, it is like an browser without passing "isExternal").

Also, we cannot get the teams client version info, not able to workaround this situation.

Vaibhav-MSFT commented 10 months ago

Hello @kafka-yu - Thanks for raising your query. We will check on it and let you know the updates.

ChetanSharma-msft commented 10 months ago

Hello @kafka-yu - There is no minimum version of Teams clients required and "External oAUTH API" should work in all the Teams clients. But Engineering team recommends using the latest version of Teams as there may be some fixes done due to minor bugs in previous clients.

Reference doc: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-oauth-provider Sample link: https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-external-auth

Please let us know if you need any further help here.

kafka-yu commented 10 months ago

hi @ChetanSharma-msft thanks for the reply, we follow the reference doc you posted. The thing we found is that on that old Teams client (2.0.17), this screen is not prompted up when calling the Teams SDK authenticate method with "isExternal=true", and then seems like the "authId={authId}" is not populated after that page opens. This could be the root cause.

07436f8a7a908935b3bc6f38a4807535

ChetanSharma-msft commented 10 months ago

Hello @kafka-yu - Thanks for sharing your inputs. Could you please try with iOS Teams client: 2.0.18 and above and check if it's working for you.

Meanwhile, we are also checking it with engineering team and let you know the updates.

kafka-yu commented 10 months ago

@ChetanSharma-msft thanks for checking.. Unfortunately, we are not able to find a 2.0.18 build. Do you know how to? E.g. testflight build?

Dinesh-MSFT commented 9 months ago

Hi @kafka-yu - We don't have any specific version to install but, we will check with engineering team and let you know the updates.

kafka-yu commented 9 months ago

hi @Dinesh-MSFT may I ask is there any update? Thanks

ChetanSharma-msft commented 7 months ago

Hello @kafka-yu - Sorry for delay in response. We are actively checking your query with engineering team and let you know the updates, if any.