Call a Joget application by using iframe in a external apllication.

Confluence User - 28 Nov, 2023

The idea is to use a parent application to call an application created via Joget using an iframe, to handle certain processes.


This parent application only has an iframe with the following code.

<iframe width="750"  height="500" src="http://127.0.0.1:8080/jw/web/embed/userview/example_app/Teste_Form/_/Teste_Form" title="NewAplication"></iframe>


When executing the page, the login page of this application created via Joget is displayed. After entering the credentials of a user and submitting them, this iframe redirects back to the login page. This login page does not have any custom HTML.


There is evidence that the login was successful because the following information appears in the terminal:
INFO  27 Nov 2023 15:49:39 org.joget.apps.workflow.security.WorkflowAuthenticationProvider - Authentication for user admin (127.0.0.1) : true


Is there any configuration required for the JOGET application to be executed via IFRAME?

forms;workflow;userviews

1


29 Nov, 2023
confluenceUser
confluenceUser

Hi, there is not enough information to be sure but I suspect it is due to cross-frame domain security enforced by the browser. Try referring to https://stackoverflow.com/questions/40866219/how-to-resolve-iframe-cross-domain-issue.


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print