How to submit a form from different domain
Posted on 2014-08-22
There's an existing application I need to incorporate.
First thing is I need to create a login page to login the system.
I was thinking about having an iframe on my login page. The iframe's src would be the system's login page. When I click submit on my login page, it would submit the iframe.
I got an error incorporating the iframe:
Refused to display 'http://www.mysite.com/jbosslegore/APlegore/faces/login.xhtml' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.