I have a website that I'm working on, It's something like a car sharing system, user-based. In some pages I'm using a iframe in the middle of the page to link to another website which is not in PHP (Liferay actually), so I found out it was the easiest way to include it. The problem is, everytime a user logs in, it doesn't auto login inside the iFrame as well. It's then necessary to do a second authentication which is a bit frustrating.
Here is the example pic:
https://www.diigo.com/item/image/4sr25/9ct1?size=o
As you can see, I'm logged in (check upper right corner), but the iframe still shows an authentication box instead of what's supposed to.
I thought about using javascript to auto login inside the iFrame, but I'm not sure what's the most secure way to do it, since we're talking about critical data.
Any idea?
Thank you in advance!