how to implement nonce for Content-Security-Policy script-src directive in dispatcher
I am trying to remove "unsafe-inline" from Content-Security-Policy script-src directive and facing errors while loading them to site. console error says need to add hash or nonce. adding as hash integrity seems to work for few scripts but launch script and few other scripts are still showing errors.
went through above documents , but not able to get complete understanding on how to generate nonce and add it to scripts and Content-Security-Policy in dispatcher dynamically .
Please advice . Thank you