You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like the aforementioned post, I'm about to implement CSP on a site using ReactJS.NET.
For the inline script created by ReactInitJavaScript to work i need to add a nonce attribute to the script tag with a value that matches one in my CSP headers.
Currently I have created my own helper, similar in functionality to ReactInitJavaScript.
However, seeing as this configuration might become more and more common as time goes on, I think it might make sense to integrate into the project.
Do you agree?
And yes I'd be willing to submit a pull request :)
The text was updated successfully, but these errors were encountered:
Same as the now closed issue #334
Like the aforementioned post, I'm about to implement CSP on a site using ReactJS.NET.
For the inline script created by ReactInitJavaScript to work i need to add a nonce attribute to the script tag with a value that matches one in my CSP headers.
Currently I have created my own helper, similar in functionality to ReactInitJavaScript.
However, seeing as this configuration might become more and more common as time goes on, I think it might make sense to integrate into the project.
Do you agree?
And yes I'd be willing to submit a pull request :)
The text was updated successfully, but these errors were encountered: