SWA : API access
Dyt13
206
Reputation points
Hi,
I have deployed an azure SWA with serverless backend (/api). I’d like some of them for instance :
/api/functionVisibleAll to be accessible from anywhere (so auth = anonymous) and others /api/functionProtected to be accessible from axios call made in the app.
Is it possible to do so ?
I’ve tried changing the authLevel to function but for some reason I can still have access to /api/functionProtected from anywhere.
Can you please help with that ?
Thanks