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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Access Token from an iFrame.

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
3 comments
368 views