When trying to edit Access rules for a Cloudflare Pages application, it says:
“Error configuring your Access Application: access.api.error.invalid_app_domain”
When going to overview tab, the ‘select domain’ field is red, but there are no domains in the dropdown, so I am unable to save the application. We are not using a custom domain, just the pages.dev domain.
@user6462 would you mind capturing a .har file and opening a support ticket? I’d expect your domain to populate as the only option by default so we’d be happy to take a closer look. Please feel free to tag me in the ticket as well and we’ll get this sorted.
We don’t currently support putting Access policies in front of Pages at this time. Integration between Cloudflare Pages and Cloudflare Access is in the works. We do not have any specific ETA to share at this stage, but it should be ready when this beta product becomes generally available.
Current workaround is to serve content from Pages via a worker on a different domain which can be configured to use Access policies. This way you can only share the link to this proxied via worker domain instead of the Pages one and deploy Access policies on it.