I'm building an app with cordova/vuetify/firebase right now and my content security policy is giving me some trouble.
Anytime I try to create a new user I see this error:
Refused to connect to 'https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key=...' because it violates the following Content Security Policy directive: "connect-src 'self' ws:".
Here's my current CSP
<meta http-equiv=Content-Security-Policy content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:; connect-src 'self' ws:;">
Thanks for any help!
connect-src
; if clientside requests are being made to eg.https://ssl.gstatic.com
it must be present in that directive too. – pfxconnect-src 'self' ws: https://ssl.gstatic.com;
– Ahrkewight