Authenticating against Microsoft Graph with SPA and then using token in Web API
问题 I have an SPA that authenticates a user, by using msal.js, against an app registrered at the Application Registration Portal. It successfully retrieves a token and everything is fine so far. Then I have a ASP.NET Web API setup that should use the token from the SPA to make requests to Microsoft Graph on behalf of the user and this is where I run into trouble. So far I've set up a OWIN middleware on the API that should validate the token before making a request to the graph but no matter what