Hi good data team, I am embedding the visualisatio...
# gooddata-ui
h
Hi good data team, I am embedding the visualisation into our application. Visualisation is not embedding in our application when I used single origin instead '*' which allow all origin. Also how can I setup multiple origins for the visualisation.
m
Hi Haseeb, it’s essential to configure the Cross-Origin Resource Sharing (CORS) settings properly to ensure that the visualization can be accessed from your specific application domain and this documentation should help with this: https://www.gooddata.com/docs/cloud/manage-organization/set-up-cors-for-organization/ https://www.gooddata.com/docs/gooddata-ui/10.1/learn/integrate_and_authenticate/cross_origin_issues/ Also, the
*
wildcard can be used on its own to allow all domains. However, this is not recommended due to browser-side restrictions. It will return
Access-Control-Allow-Origin: *
, but in most cases, it may not function as expected.
1