We are using Cloudflare Access to control who has access to our staging environment. We use a simple Google Auth to identify users on our team.
The policy defined is like this for URL *.mydomain.com:
- include email ending
@myteam.com
The issue is that on the URL in question we're using a wildcard because we have various apps running like:
dashboard.mydomain.comclient.mydomain.com
And that causes a problem when say one app is communicating with the other via a REST API. The requests made from client.mydomain.com to dashboard.mydomain.com/api are being held up by Cloudflare, ie. redirecting to the auth page.
I've tried add another policy for dashboard.mydomain.com/api and allow EVERYONE (just to try out) and it didn't work:
Is my idea of how to set this up correct?
