Open ABL6COB opened 1 year ago
There is not enough information to diagnose the problem here.
What does your staticwebapp.config.json look like? How is your Entra ID enterprise app set up? How is your role function set up (if you have one)? Do you have a repo we can look at?
Using swa cli version 1.0.6
Describe the bug The custom role accessibility is not working as expected. I run swa cli from my local machine and publish to a static webabb. I have login to azure using Service principle and The command I use is, swa deploy --verbose silly --app-location [appLocation] --deployment-token [deploymentToken] --env [envName] --api-location [apilocation] --swa-config-location [configFileLocation]
The custom role access restriction is not working. The restricted page is accessible to all.
Expected behavior The restricted page is not accessible to all except to the respective members of active directory group.