Drop credentials or the wildcard from CORS on Cloudflare
Why it matters
Browsers refuse Access-Control-Allow-Origin * together with Access-Control-Allow-Credentials true, so the setup does not do what was intended. Public resources need no credentials, and private ones need a fixed list of origins.
The fix
- Create a Response Header Transform Rule (Rules, Overview, Create rule) for this host with a Remove operation for Access-Control-Allow-Credentials, or remove it at the origin.
Related
Scan your domain to see whether this applies to you.