How to use nonce in CSP How to use nonce in CSP node.js node.js

How to use nonce in CSP


My solution was correct

We create one nonce per HTTP request, we should not create one per script. So, my initial solution was correct. The CSP rules go into the HTTP layer, and thus one nonce per HTTP request.