It's all about the answers!

Ask a question

Preview and selection dialog is not getting loaded in iframe only for chrome borwser Chrome browser version:-Version 90.0.4430.93 (Official Build) (64-bit) Its working fine in IE and firefox. Is there any CSP header which needs to be considered for chrom


manisha vinchurkar (3125) | asked Apr 30 '21, 7:21 a.m.

 Preview and selection dialog is not getting loaded in iframe only for chrome borwser for DOORs NG 6.0.6.1
Chrome browser version:-Version 90.0.4430.93 (Official Build) (64-bit)
Its working fine in IE and firefox.

Is there any CSP header which needs to be considered for chrome for whitelisting.



Accepted answer


permanent link
Daniel Moul (5.0k1318) | answered Apr 30 '21, 8:51 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

 This is probably due to SameSite cookie policy implement in recent releases of Chrome ( https://www.chromium.org/updates/same-site ). You can find some guidance in the documentation for the ELM release currently under development: https://www.ibm.com/docs/en/search/samesite?scope=SSYMRC_7.0.3 

manisha vinchurkar selected this answer as the correct answer

Comments
manisha vinchurkar commented May 04 '21, 2:05 a.m.

 Hi Daniel,


This workaround Works. Thanks.
But we can not suggest this to end user so do u know if oslc server side is there any configuration for end user.


Daniel Moul commented May 05 '21, 3:37 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

You can set cookie policies on the server side so that users don't need to change their browser security settings (as long as you are using https rather that http -- which should the be case!).


I found an ELM documentation topic for WAS that mentions the relevant cookies (I couldn't find one for Liberty).


manisha vinchurkar commented May 06 '21, 2:15 a.m.

 Thanks

You can set cookie policies on the server side so that users don't need to change their browser security settings- 
who should change this ....DOORs oslc server team right or from where iframe is getting initiated in our case its Windchill. So from windchill object i am initiating doors iframe.
So who should do server side cookie policies setting DOORs OSLC devlopment or Windchill??


Daniel Moul commented May 07 '21, 7:39 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

The cookies policy needs to be set in the server that is providing the cookie, in this case the DOORS Next server. And you need to use a version of Liberty or WAS that supports SameSite cookies, for example Liberty 20.0.0.6 (which we are recommending in general for V6 customers)


manisha vinchurkar commented May 07 '21, 2:22 p.m.

 Thanks

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.