Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set Apex Cookie in iFrame ?

YounMar 2 2021

I have an Apex 19.2 Application.

The application is inserted in another website (with a different domain) as an iFrame :

<iframe src= "URL of my apex App" style= "width:1200px; height:750px; max-width:100%; margin:auto; display:block;" frameborder="0"></iframe>

I have a custom authentication scheme with the cookie configured as **SameSite none** and **Secure**

In the Security Attributes, of the app, **Embed in Frames** is set to **Allow**

The integration of my app in the external website works but the cookies are not created and all the session features are not working. The same app works just fine with the cookies when opened directly not from an iframe.
Does anyone know how to solve that please ?
Thanks
Capture.JPG
Capture.JPG

Comments
Post Details
Added on Mar 2 2021
0 comments
734 views