Share via

Implementing OAuth Authentication with GitHub for Teams Bot/Message Extension App

XDeveloper 0 Reputation points
2024-04-15T19:28:42.98+00:00

I am developing a Teams bot/message extension application using the Teams Toolkit within Visual Studio Code and TypeScript. As part of the functionality, I am aiming to integrate user authentication with GitHub utilizing the OAuth protocol.

I have reviewed the documentation (https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-oauth-provider) available on implementing OAuth authentication for Teams tab apps; however, I understand this approach may not be directly applicable to bot/message extensions.

I would greatly appreciate guidance on the appropriate approach to implement OAuth authentication with GitHub for my Teams bot/message extension app. This would allow the app to leverage functionalities offered by the GitHub API on behalf of authenticated users.

Thank you for your time and assistance....

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs


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.