Turnstile CSP issues?

Is anyone experiencing issues with turnstile and CSP im using it in my nextjs app using the app router and it constantly throws CSP violations at me
3 Replies
MrVoshel
MrVoshel7d ago
Same for me in my SvelteKit website, and seems to be a common/recent problem (check: https://community.cloudflare.com/t/csp-error-integrating-turnstile-into-my-page/771944) Using a nonce doesn't help, I also temporarly put 'unsafe-inline' as stated in the error, but no luck. I know rocket loader, cloudflare fonts and some sort of bot prevention could throw these errors harmlessly. In fact in my case everything works, but it's not optimal that a widely used product throws some random errors in the console. If someone has a suggestion I'm interested too. EDIT: I don't know if it's relevant, but my domain is cloudflare proxied
Silvan
Silvan7d ago
Yep same issue for me on sveltekit! Does it also trigger the debugger to open when you guys load the site with dev tools open?
MrVoshel
MrVoshel7d ago
yes

Did you find this page helpful?