I'm trying to call the API that I created by following these directions, I got to the point where I can call the API from Developer Portal using the JWT token.
Now I'm confused, how will the angular client app get this JWT token in order to call the API?
Currently, users of the angular app are in the Active Directory (same AD that was used in directions to set up the API). The sign-in process is done through MSAL library. When I try to get the token by calling acquireTokenSilent and try to call the API using this token, I get 401 error.
How do I get the correct JTW token from the angular app?
