gcds-components icon indicating copy to clipboard operation
gcds-components copied to clipboard

feat: nonce implementation for CSPs

Open daine opened this issue 1 year ago • 0 comments

Prerequisites | Prérequis

Describe the feature request. | Décrivez la fonctionnalité demandée

Support for CSP nonces

Describe the use case. | Décrivez les cas d’utilisation

During a POC with GC Forms, they ran into an issue because we don't currently support nonces in any of our output targets

Describe the preferred solution. | Décrivez la solution souhaitée

It seems like it should be possible to have stencil work with nonces https://stenciljs.com/docs/distribution#loader https://stenciljs.com/docs/csp-nonce

Describe all alternatives. | Décrivez toutes les solutions possibles

N/A

Provide related code or examples. | Fournissez du code ou des exemples pertinents

https://github.com/cds-snc/platform-forms-client/pull/4281#issuecomment-2358313268

Add other relevant resources. | Ajoutez toute autre ressource utile

No response

daine avatar Sep 26 '24 04:09 daine