MicrosoftDocs / msteams-docs

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

Action based message extension with SSO #11732

Open ChetanSharma-msft opened 13 hours ago

ChetanSharma-msft commented 13 hours ago

Steps to reproduce

Copied from: https://github.com/OfficeDev/teams-toolkit-samples/issues/1284

Details:

I'm implementing an action-based message extension (three dots on the message in a chat).

How can I add SSO in order to get the user token in the TeamsActivityHandler methods?

The example for search-based message extension shows how to do it (handleTeamsMessagingExtensionQuery and handleMessageExtensionQueryWithSSO), but there are no examples on how to do it with action based methods (handleTeamsMessagingExtensionSubmitAction).

Thanks!

Expected behavior

NA

Actual behavior

NA

Error details

No response

microsoft-github-policy-service[bot] commented 13 hours ago

Hi ChetanSharma-msft! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Meghana-MSFT commented 28 minutes ago

@jamzi - Could you please let us know if this comment resolved your issue? https://github.com/OfficeDev/teams-toolkit-samples/issues/1284#issuecomment-2298031280