I have an Angular frontend app and a web api. For my Angular, I'm using Msal.js for authenticating. It's working already, I get redirected to Microsoft login page then I get the user details and the token.
The problem is even when I use the token as Authorization: Bearer '{my token}' header, the Web API still returns a 401 Unauthorized error.
I've used this guide for my web api authentication. All my apps are still local.