Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? 9.3
- What is your product type (Angular or MVC)? angular
- What is product framework type (.net framework or .net core)? .net core
For Application Authentication we are primarly using OpenID with AAD. We have requirement to call Application APIs from External Application which using AAD login. Just want to understnd how can we use AAD token to call aspnetzero application APIs. if this is not possible what are diffrent approches for SSO.
Let me know if any further information is required, appriciate early response.
1 Answer(s)
-
0
Hi,
For calling AspNet Zero's APIs, you need to get a token from AspNet Zero itself, see https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Token-Based-Authentication.
I think in yoru case, you need to create a custom middleware on AspNet Zero. Validate AAD token from Azure in AspNet Zero and allow calling the APIs.