In my connect plugin, My app (For example: hosted on www.abc.com) generate a javascript code which user can embed in his website/app. This javascript loads javascript file from www.abc.com (my connect app url) and also calls some API from my App url.
How can i achieve the same with Forge app? How to get url of forge app hosted environment?
Is this url can be used to call API?
Is this URL changes or remains same?
Is there a possibility to map www.abc.com domain to the forge app url?
Thanks for sharing this video, but we have a requirement where I need to show the web trigger URL in an iframe. This video does not answer this. I tried setting up ‘X-Frame-Options’, ‘Content-Security-Policy’ and ‘Access-Control-Allow-Origin’ headers in the trigger response, but it did not worked.
Above url is working in the browser.
However if i create test.html with below code
<html>
<head>
</head>
<body>
Hi this is test page<br/>
<iframe src="https://77e69e7a-2e4e-417c-a279-0f65a519c9ae.hello.atlassian-dev.net/x1/T6iPyWp2oBni-HOaimazy-C5Z48"/>
<body>
</html>
iframe refuse to render.
deployed and reinstalled each time manifest is changed
Thanks for response, using frames you can access external site in your app ui. However my requirement is bit different, i want to use trigger url as src in iframe in external site.