I need to use Angular App to get:
- access token to work with web api
- access token to work with graph.api from web api
Can I use the same Access Token with a Single App Reg?
I need to use Angular App to get:
- access token to work with web api
- access token to work with graph.api from web api
Can I use the same Access Token with a Single App Reg?
@PaulAzure-8925, You cannot use the same access token which is issued to your webapi to call another webapi like Graph API. The reason being, an access token is always issued for a specific resource.
There are two distinct fields in an access token i.e:
Iss --> Issuer, as who has issued the token.
Aud --> Audience, as in for whom the token is meant to be consumed.
So there has to be separate calls inorder to get your scenario working.
Hope this helps.
8 people are following this question.