Deploy custom client problem #5359
-
We followed the instruction to deploy our custom client to the hubs cloud but we got 2 problems:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Try this workaround in case it's the same problem #4208 (comment) |
Beta Was this translation helpful? Give feedback.
-
I had similar problems with a custom client including admin page broken sometimes, depending on CSP (Content-Security-Policy) settings. As the browser is telling you, the CSP is denying access to your URL. Usually you edit the CSP allow-list through the Hubs Admin page => Setup / Server Settings / Advanced. There are several "Extra Content-Security-Policy rules" fields that you can add any third party domains to (separated by spaces). For example, in my client I added these to the "Extra Content Security Policy connect-src Rules":
If the Admin page does not load due to CSP errors, you should be able to fix it by editing or emptying the field in AWS Systems Manager / Parameter store. The fields are called |
Beta Was this translation helpful? Give feedback.
I had similar problems with a custom client including admin page broken sometimes, depending on CSP (Content-Security-Policy) settings. As the browser is telling you, the CSP is denying access to your URL.
Usually you edit the CSP allow-list through the Hubs Admin page => Setup / Server Settings / Advanced. There are several "Extra Content-Security-Policy rules" fields that you can add any third party domains to (separated by spaces). For example, in my client I added these to the "Extra Content Security Policy connect-src Rules":
https://firestore.googleapis.com https://identitytoolkit.googleapis.com https://fonts.gstatic.com https://securetoken.googleapis.com
If the Admin page does not …