Hi,
I have 3 applications, Client App, WebAPI1(.net core ) and WebAPI2(Express REST API).
The programmatic flow is like this, Client App -> Webapi1 -> WebApi2.
We have registered an AD App (AAD App1) in AAD and using that currently with user login and redirection URL in the client App.
We want to implement authentication logic using bearer tokens in Web API1 and Web API2.
Ideally, we would like to reuse the same AAD App1 between all Client App, WebAPI1 and WebAPI2 from a maintenance point of view.
The doc articles I have gone through so far are talking about configuring multiple AD Apps for each of the web apps/API, and giving permissions to the previous callee app in the AAD.
Is it possible to use same azure ad for all 3 apps ( User login authentication for Client app, and Bearer token (on behalf of the user) from client app to web api1, and Bearer token (on behalf of the user) from web api1 to web api2),
If so, could you please help me with same programmatically or any documentation links for such scenarios?
Thanks,
P