I am using REST API for Azure Bot Services and GRAPH API for creating MS Teams Bot.
I have been using two different oauths for my application since I require my bot to get details from GRAPH API.
https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token - for bot services https://login.microsoftonline.com/common/oauth2/v2.0/token - for graph api
Is there a way to combine them, and use single ouath for both the purpsoses? I went through the documentaion and there is a way where bot can ask for graph api authentication from user.
I saw many examples for SDKs but I am not able to figure out how to do this in REST API.
I have followed this documnetation uptil here.
Can anyone please let me know if I am doing it right and further steps to be taken to add MS Graph API Oauth in Bot itself?