Playing around with Angular2 and ASP.NET Core (Web API).
Currently I successfully login through the UI and I am storing the id token that is returned. I created API and I pick Work or School authentication. Nothing is changed since I created the project. The problem is that I can't authenticate the request from angular (I tried with Postman either). Every time I get 401.
Setting the hearder to Authorization: Bearer xxx and I am passing the id token.
This is the data I store after login. What I am attaching as a header is the adal.idtoken
Any help it will be appreciated

