We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My server has Content Security Policy enabled, i want to initialize js code with a nonce to allow recaptcha script execution.
Google docs recommend use nonce: FAQ
Can be added a function called initJsNonce() or related?
/** * @param string $nonce * @return string */ public function initJsNonce(string $nonce): string { return '<script src="' . $this->origin . '/api.js?render=' . $this->sitekey . '" nonce="'.$nonce.'"></script>'; }
As workaround how can add/override RecaptchaV3 class to add this?
I'm not familiarized with Laravel Container to do that, if anyone can help me I would appreciate.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My server has Content Security Policy enabled, i want to initialize js code with a nonce to allow recaptcha script execution.
Google docs recommend use nonce: FAQ
Can be added a function called initJsNonce() or related?
As workaround how can add/override RecaptchaV3 class to add this?
I'm not familiarized with Laravel Container to do that, if anyone can help me I would appreciate.
The text was updated successfully, but these errors were encountered: