Forum Discussion
XDeveloper29
Jul 18, 2024Copper Contributor
How to get access token for Graph API in Teams bot-based message extension?
I'm developing a Teams bot-based message extension application using the Teams Toolkit in TypeScript. I need to retrieve all the replies for a message in the current channel. According to the documen...
XDeveloper29
Jul 23, 2024Copper Contributor
We have created an app using Teams Toolkit and registered a bot on dev.botframework.com. Can we implement OAuth with this setup, or do we need Azure Bot Service for OAuth?
Dinesh-MSFT
Jul 23, 2024Former Employee
Hi XDeveloper29, you can implement OAuth with your current setup using Teams Toolkit and a bot registered on dev.botframework.com. While Azure Bot Service provides built-in support for OAuth and simplifies the process, it is not strictly necessary for OAuth implementation. You will need to handle the OAuth flow manually, which involves registering your app with an identity provider, setting up the necessary OAuth 2.0 endpoints, and managing tokens within your application.