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!

Access Token from an iFrame.

M.SathishDec 10 2024

Hi @ed-jones-oracle,

I want to access token from an ifrmae.
I have added the below code for iFrame in oracle apex.

<iframe id="dataIframe" class="styled-iframe" src="
https://example.com/fscmUI/HedTokenGenerationServlet?response_type=code" width="600" height="400"></iframe>


In browser security, I have enabled below settings too.
when I try to access token from this iFrame using JavaScript. I am getting CORS policy error.

Could you please help me with this.

Thanks
Sathish

Comments
Post Details
Added on Dec 10 2024
5 comments
490 views