[Consent Solution] Request fails because of CORS
The same happens on production sites.
Access to XMLHttpRequest at 'https://consent.iubenda.com/beta/public/consent' from origin 'https://cdpn.io' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
We're using Iubenda consent solution to register the GDPR consents, this is critical.
I would like to let you know that our development team has already fixed the issue you reported, so now everything should be working fine with no issues!
We appreciate your contribution in reporting in detail the issue you were dealing with.
I can confirm the headers which are now sent in the OPTIONS response request allow for the POST /consent request to occur.
Have a nice day