ibm-ecm / ibm-content-navigator-samples

Apache License 2.0
15 stars 21 forks source link

EmbeddedViewerPlugin: iFrame fails to authenticate #38

Open McMac opened 1 month ago

McMac commented 1 month ago

Trying to use this plugin I am running into the issue that the iframe (XDomainViewerWindow.html) presents a login page and then immediately presents the login prompt again: Your session expired. Log in again. When loading the plugin directly http://localhost:9081/icn/?desktop=embeddedViewerDesktop&feature=embeddedContentViewer&sideChrome=2 it works so there doesn't seem to be the issue.

I am using ICN 3.0.15/FN 5.5.12/WAS 8.5. Current hunch is that it is somehow related to session and cookies?!?

McMac commented 1 month ago

Not sure if this relevant but in DevTools I see this:

`
SyntaxError: Unexpected token 's', "setImmedia"... is not valid JSON at JSON.parse (<anonymous>) at Object.eval () at
 
eval @ ContentViewerFrame.js:83
  (anonymous) @ dojo.js.uncompressed.js:42051
  postMessage (async)    
  r @ content.js:2
  f.setImmediate

...`