Admin panel in Iframe Allow Cross Origin

I want to view the Admin panel in an iframe but am not able to do so.Am getting cross origin problem and have tried many suggestions on previously asked questions by people can you help ?

i have tried everything here Camunda CORS Filter in Spring Boot Application - #7 by stegerpa

Unable to login in iframe
Login Failed : Wrong credentials, locked user or missing access rights to application

  • I am just setting the iframe source as “localhost:8080”
  • Source code for the project i am working on
    RulesEngineProject – Google Drive
    tried running on localhost with iframe.html which you can find in the same location as pom.xml when you open the google drive link
  • Tried the jersey config method
    \src\main\java\com\hubble\bpmn\config [JerseyConfig.java]
  • Tried the cors filter method
    \src\main\java\com\hubble\bpmn\ [Application.java]

Are you also sending the user credentials in the iframe call?

The error sounds like it is simply not authenticating,

Can you provide more of the code you are using to try this so that we can see where the problem might be?

Thanks,
dg

  • I am just setting the iframe source as “localhost:8080”
  • Source code for the project i am working on
    RulesEngineProject – Google Drive
    tried running on localhost with iframe.html which you can find in the same location as pom.xml when you open the google drive link
  • Tried the jersey config method
    \src\main\java\com\hubble\bpmn\config [JerseyConfig.java]
  • Tried the cors filter method
    \src\main\java\com\hubble\bpmn\ [Application.java]