I have a Web API secured by OWIN that requires the user to be authenticated using Azure Active Directory. I’m able to make requests via Postman with the access token I obtained using the Microsoft Authorization URL.
From my Angular client (also secured by Azure AD), however, I cannot get the access token for the Web API without getting redirected to the API. Is there any way for the client app (which has a different client id than the Server API) to retrieve the access token it needs to use in the Authorization header of API requests?