What is the name of the domain?
localhost
What is the error message?
Refused to run the JavaScript URL because it violates the following Content Security Policy directive: “script-src ‘nonce-5V6C2RzmNiiJNudr’ ‘unsafe-eval’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-…’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.
What is the issue you’re encountering
Having own CSP Policy with Nonce which will be added to script tag for turnstile api.js. But still error occurs
What steps have you taken to resolve the issue?
Having following CSP:
Including Cloudflare Turnstile via:
Getting: v1?ray=915650d21c737264&lang=auto:1 Refused to run the JavaScript URL because it violates the following Content Security Policy directive: “script-src ‘nonce-5V6C2RzmNiiJNudr’ ‘unsafe-eval’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-…’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.