This forum is now Read-Only. The Magento Community Forum is scheduled to close permanently on December 31, 2025. Please save any necessary information before this date. Join us on Slack for continued engagement!
I've been setting up a Magento 2 on Nginx with PHP 7.2 and I've running locally a PWA that connects to the {magentourl}/graphql path but it gets blocked by the CORS policy on the browser, Does any one of you know how to setup CORS enabled for GraphQL?. BTW I already did it for the rest with https://github.com/splashlab/magento-2-cors-requests.