403 Forbidden on native GraphQL endpoint behind Adobe Edge Delivery Service
Hello community,
I am using AEM as a Cloud Service and have a native GraphQL endpoint at
/content/cq:graphql/my-endpoint/endpoint.json
- Direct calls via Postman to the Publish URL return 200 OK.
- Local frontend fetches from http://localhost:3000 return 200 OK.
- Deployed behind Adobe Edge Delivery Service
the OPTIONS preflight returns 200 OK with correct CORS headers, but the POST returns 403 Forbidden.
What I have tried so far:
- Dispatcher rule allowing GET, POST and OPTIONS to /content/cq:graphql/.*
- OSGi configs in config.publish for:
- ReferrerFilter (allow-empty=true, allow-hosts=[""], exclude /content/cq:graphql/.)
- CORSFilter (allowOrigins=["*"], allowMethods includes POST and OPTIONS)
- CSRFPreventionFilter (filter.methods=["POST","PUT","DELETE"], filter.patterns excludes /content/cq:graphql/.*)
Despite these settings, the fetch still returns 403 when routed through EDS.
Does anyone know what additional EDS or CDN configuration might block these POST requests? Or any default EDS behavior, like header rewrites, that could trigger a 403?
Thank you in advance.
Oscar Salas