How to integrate third party SSO in messaging extension ?

Meet Rathod 5 Reputation points
2024-07-09T06:54:12.1833333+00:00

How can I integrate third-party SSO into a messaging extension? Any reference links would be helpful. Additionally, I want to store access tokens and refresh tokens per user for the messaging extension so that I don't have to perform SSO every time I use the messaging extension. Is there a way we can store third-party access tokens and refresh tokens for later use in API calls? Are there any options available, like a settings module in the connector? Just fyi,I am building the messaging extension using Node.js.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,338 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,350 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 3,031 Reputation points Microsoft Vendor
    2024-07-10T06:57:32.0966667+00:00

    Meet Rathod -

    1. To integrate third-party SSO into a messaging extension please refer below document. https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/authentication/bot-sso-overview?view=msteams-client-js-latest.
    2. Store the access tokens and refresh tokens securely on your server, associating them with the user's ID. You can use Azure Key Vault for secure storage or implement your own encryption and storage solution.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.