Hello everyone.
We have been requested to use a new CSP directive in the project, the directive is CSP: report-uri or CSP:report:to.
The problem is that these directives send an http-post request against a uri, which would be from the project itself in AEM.
Reviewing the AEM documentation, we have seen that you can only make a POST request, when the user is logged in and has a CSRF-token, and it has to be sent in the POST request so it does not return http-error 403.
Do you have any idea how we could implement it?
Thank you very much.
Best regards