-
Notifications
You must be signed in to change notification settings - Fork 27.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow passing a nonce to google tag manager related script #73370
Conversation
What Adding nonce in script in google tag manager Why Prevent from using csp header inline script or adding url manually in csp headers by package users. How passing nonce to the script.
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
Sorry, I don't understand exactly, does anyone contributing to code is a maintainer? and how to enable it if I am considered as a maintainer |
Hi, Hit this problem today and came to do the same PR. For any maintainer out there who wants some more context the suggestion from googles inline script adds the nonce attribute to the include allowing strict-dynamic to work with the csp https://developers.google.com/tag-platform/security/guides/csp Thanks |
@abdelrahmanAbouelkheir no need to merge canary, this blocks the tests from running |
Failing test suitesCommit: 3298c0e
Expand output● AMP Validation on Export › production mode › should have shown errors during build
Read more about building and testing Next.js in contributing.md. |
What
Adding nonce in script in google tag manager
Why
Prevent from using csp header inline script or adding url manually in csp headers by package users.
How
passing nonce to the script.