Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
It is impossible to use the link to invite users to a role defined within the SWA. The link fails to work as it attempts to navigate the user to the main SWA URL as it has no knowledge of the domain within FrontDoor.
To Reproduce
Steps to reproduce the behavior:
Create SWA and Azure FrontDoor
Create Origin Group and Rule in FrontDoor to send traffic to the SWA
Modify staticwebapp.config.json to only allow traffic front FrontDoor (see example above)
Attempt to invite an invitation link for adding a user for a role within the SWA
See invite url is the SWA url as the SWA has no knowledge of the FD domain
Attempt to use invite link, see it fails to work.
Expected behavior
Should be able to manually override the domain when create an invitation link.
Hi, When a SWA is behind Azure FrontDoor and the staticwebapp.config.json locks down access to only accept traffic from FrontDoor like this:
It is impossible to use the link to invite users to a role defined within the SWA. The link fails to work as it attempts to navigate the user to the main SWA URL as it has no knowledge of the domain within FrontDoor.
To Reproduce Steps to reproduce the behavior:
Expected behavior Should be able to manually override the domain when create an invitation link.