Currently there are 2 possible approaches to do this:
- create custom react widget (clear)
- create a react app using pilot-app
We need the second as we want to deploy it as a standalone app with a url, but we would like to also integrate it in Workshop.
I followed this steps:
https://www.palantir.com/docs/foundry/workshop/widgets-iframe#step-1-modify-your-custom-application-to-communicate-with-workshop
But when doing it, there seems to be an issue with the domain, as now it is allowed
child-src ‘self’ blob: mailto:;
connect-src ‘self’ blob: https://AAAA.AAA.bb wss://https://AAAA.AAA.bb;
default-src ‘self’ https://AAAA.AAA.bb;
font-src ‘self’ data:;
frame-ancestors ‘self’ https://AAAA.AAA.bb;
img-src ‘self’ blob: data:;
media-src ‘self’ blob:;
script-src ‘self’;
style-src ‘self’ ‘unsafe-inline’;
worker-src ‘self’ blob:;
but the application has this domain:
APPNAME.AAAA.AAA.bb
So I dont know how to proceed as it seems that X-Frame-Options is not allowing me to proceed.
Best