Generating CSP None on Firebase Hosting for Google Tags Manager inline script
265 views
Skip to first unread message
Jacob
unread,
Jul 20, 2022, 5:56:50 PM7/20/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
The Firebase JS SDK uses Google Tags Manager. Google Tags Manager uses an inline script that requires a server-generated nonce in use with a Content Security Policy:
If the web site is hosted on Firebase Hosting, is there a feature to generate such a nonce? I don't want to have to create a Cloud Function just to do something so trivial.