How to integrate third party SSO in messaging extension ?

Meet Rathod 50 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 | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 3,956 Reputation points Microsoft External Staff Moderator
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.