Access on-premise Active Directory authenticated API from SPFx solution running in SharePoint 2019?

Copper Contributor

I know that we can call Azure AD secured APIs (e.g. Azure Functions, or API Apps running in an Azure App Service) from SPFx solutions running in SharePoint Online, as described in these scenarios:

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-...

Is the same possible in a pure on-premise environment with an on-premise Active Directory, SharePoint 2019 and a SPFx solution running there? The API I would like to call from the SPFx solution might be a REST API developed with ASP.NET Core Web API running on a separate server and requires authentication, but it might also be any other corporate owned API or Web Service.

2 Replies

@Atul_Bachhav .No i didn't get answer of this question and  spfx running on SharePoint Online.

 

If you can help it would we great.

Thanks