Skip to Main Content

Analytics Software

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!

Oracle Analytics Embedding CORS issue

Hasan SiddiquiJul 10 2024 — edited Jul 12 2024

Hello…..In Oracle Analytics we have created canvases ,and used the developer codes to embed it in the jsp page which is working fine. Now for public user access of these canvases we have generated token and included it in the jsp code . After this on the console,we're getting the error : Access to XMLHttpRequest at 'https://<instance>.analytics.ocp.oraclecloud.com/ui/dv/ui/api/v1/sessioninfo/ext?stateId=' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

For resolving this we refered to this Mike Durran blog : https://insight2action.medium.com/oracle-analytics-troubleshooting-embedded-content-20eccbc84f6c . We double checked our safe domains but couldn't find any mistakes.

Kindly let us know the steps we need to take to resolve this error . Thank you in advance…

Comments
Post Details
Added on Jul 10 2024
1 comment
290 views