It is possible for your website to authenticate and get data from the Function App, regardless of whether it is hosted on Azure.
While there are a few options here, I would recommend to use API Management for Authentication.
The following article walks through how to configure this for your Function:
Securing your Azure Functions App with API Management - Cloud management at your fingertips (mscloud.be)
How can I authenticate from an external site for communication with a Function App?
Corbin Bethurem
61
Reputation points Microsoft Employee
I have an external website that I would like to call my Function App. However, this Function App has Service Authentication enabled and needs to be logged into using Active Directory. Is it possible for my non-Azure App Service hosted website to get data from the Function App?
Accepted answer
-
brtrach-MSFT 15,171 Reputation points Microsoft Employee
2021-03-29T18:39:52.497+00:00