How two azure web apis communicate in azure

179 Views Asked by At

We have two azure web apis, app 1 and app 2.

We get request to app1 after doing some business logic we need to call app2 and get back the request to app1 and send the request to client of app1.

  • Is there a way to communicate with app2 from app1 using IAM or using AAD?
1

There are 1 best solutions below

0
Joy Wang On

You could use the Azure AD OAuth 2.0 On-Behalf-Of flow.

The OAuth 2.0 On-Behalf-Of flow (OBO) serves the use case where an application invokes a service/web API, which in turn needs to call another service/web API.

enter image description here