Skip to main content

How to get the Azure AD access token from Sitecore Identity Server after using the Azure AD login and use the token for call to external APIs?

I have a Sitecore 9.2 application and a feature project for Web API . In the API controller classes I need to get the access token issued from Azure AD after using the Azure AD login on my Sitecore Identity Server.

I am unable to access the token at present as I don't know how to access it. My current .NET Framework version is 4.7.2 .