Support stricter CSP in Featurebase.
Currently, the Featurebase SDK is built in such a way that it’s really hard to get it work in environments with strict CSP.
ORIGINAL POST:
We’ve integrated the Featurebase Changelog widget on our site by following this article: https://help.featurebase.app/en/articles/3449376-install-changelog-widget [https://help.featurebase.app/en/articles/3449376-install-changelog-widget]
However it’s falling foul of our CSP, and from what we can tell this seems to be because it’s injecting some inline styles.
We can overcome this by adding 'unsafe-inline'tostyle-src, but that’s said to be an anti-pattern [https://content-security-policy.com/unsafe-inline/].
What’s best practice when it comes to CSP for allowing the Changelog widget?
Status: Completed
Log in to comment and vote
No comments yet
Be the first to share your thoughts.