Better CSP support #104
Chenalejandro
started this conversation in
Ideas
Replies: 1 comment
-
Hello @Chenalejandro. From my understanding, your suggestion is that the sdk should add policies for all sources consumed by the project, is that right? Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, to make components work with csp, we need to add a lot of hosts (for example: https://http2.mlstatic.com https://*.mercadopago.com, https://*.mercadolibre.com), in some cases even needing to add 'unsafe-inline' to the script-src.
The better way is to have a nonce prop, so the sdk can pass the nonce to the scripts.
Beta Was this translation helpful? Give feedback.
All reactions