How do you correctly places your pages deployment behind access? I have tried a few ways but it always returns odd results
If you add access policy 3 times; one for *.
.pages.dev, another for
.pages.dev, and another for the alias domain, if you try to access the alias domain, you first get the one time code then are redirected to login to the pages.dev application.
If you assign the same access group to all 3 of the access applications, then it'll let you in but in the audit log you can see that it authenticates you against both the alias domain's access, followed by one of the pages.dev ones