With .net core 3.1.4, I have created a server side blazor app which uses Azure active directory authentication. I am using following json with values pointing to my azure active directory.
{
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "contoso.onmicrosoft.com",
"TenantId": "e86c78e2-8bb4-4c41-aefd-918e0565a45e",
"ClientId": "41451fa7-82d9-4673-8fa5-69eff5a761fd",
}
}
All works perfect means I can login with my Azure AD credentials but in the httpcontext's request headers, I do not get bearer access token to use for making call to my other apis further. How to get bearer access token for the logged in user in this case?
Thanks, Jay