Closed iherdt-mparticle closed 2 years ago
@iherdt-mparticle, can you also make this change in our new Braze kit: https://github.com/mparticle-integrations/mparticle-javascript-integration-braze?
We will begin formally migrating this kit to a new version and this kit will be deprecated fairly soon.
Please review our readme for details: https://github.com/mparticle-integrations/mparticle-javascript-integration-braze/blob/58f508b79a17472501050b60af32905ac878ac9c/README.md
also added the same PR for the new Braze kit: https://github.com/mparticle-integrations/mparticle-javascript-integration-braze/pull/5
Closing in favor of a better solution to support any future Braze init settings.
Summary
Allows to set the nonce value in the Braze event connection settings. That value will be passed to the contentSecurityNonce initialization option to propagate it to newly created scripts and styles generated by the Braze SDK - https://www.braze.com/docs/developer_guide/platform_integration_guides/web/content_security_policy/#nonce