From Microsoft Bot Composer, I successfully sign the user in and can retrieve the oauth token from the user. Now I want to call a secure APT.NET Core Web API and then call the Microsoft Graph API.
https://learn.microsoft.com/en-us/composer/how-to-send-http-request?tabs=v2x
I'm looking for a sample that I can follow that would show how to build a C# Web Core API that would accept the token from the bot, and then call into the Microsoft Graph API on behalf of the user who logged into the bot.
Do I need to register both the bot and the web API with Azure AD app registration?