abinnovision/recaptcha-v3

The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.

lukepighetti opened this issue · 4 comments

On safari we're seeing this error

The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.

It appears to be connected to vue-recaptcha-v3 but unfortunately I do not have a MVCE available for reproduction.

Any thoughts?

Yeah it's an issue with google apis I guess. Need to solve it as well.

Hi,
I've moved your issue to the reCAPTCHA-v3 repository, as vue-reCAPTCHA-v3 just wraps it.

Looks like this issue also occurs on the official client.
Does it prevent loading the reCAPTCHA or using it?

@thefoxie were you able to find any solution? I have the same issue yesterday in a vue + capacitor app in the iOS webview.

@mesqueeb yeah I got it working as I remember. Not sure how though. If I remember correctly my app didn't work because of some strange <select> behaviour in webkit (used epiphany aka gnome web for debugging) but all I could see was just this error in console.

Here is how I used the vue-recaptcha-v3 plugin:

https://github.com/thefoxie/LepsieSluzby.sk/blob/master/src/index.js#L13
https://github.com/thefoxie/LepsieSluzby.sk/blob/master/src/views/podnet.vue#L236