Azure function is linked to a static web app however it is still accessible anonymously

Martin Pyman 0 Reputation points

Hopefully someone might be able to help.

I have a static web app linked to an azure function (BYOF) and as part of this linking process I can see the identity provider added to the azure function in the Authentication section.

My understanding from reading the document linked above is this should block access to the api from external requests outside my static web application. However when I navigate to the https://swaurl/api/myfunction I can still run the function.

Any help would be appreciated, the aim here is only the SWA can call the functions.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,626 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
842 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    Comments have been turned off. Learn more