It's all about the answers!

Ask a question

RTC Delegated Dialog - CSP frame-ancestor

Oana Capatana (23520) | asked Nov 20 '18, 2:20 a.m.


I am trying to integrate RTC with another application. I used oslc service discovery to find the url for a Selection Dialog that I want to embed in an iframe from a modal in my application.
When loading the modal I get the following error in the console (Chrome):
Refused to display 'https://<server>:<port>/ccm/pickers/<proj_area>&showLoginLink=true&allowsMultiple=true&dc%3Atype=defect' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://<server>:<port>".

Is there a setting in RTC where I can whitelist the ip and port where my application is running?


Oana Capatana commented Nov 20 '18, 3:11 a.m.

I have found the setting but now I am getting this error:

dojo/parser::parse() error Error: Unsupported frame communication protocol:

Is dojo required for the iframe to be able to load the RTC dialogs? 

Uwe Berthold commented Nov 19 '19, 1:18 a.m. | edited Nov 19 '19, 1:19 a.m.

Did you ever manage to solve this "dojo/parser::parse() error" issue?

I'm facing the same problem.

Accepted answer

permanent link
Leszek Zając (463) | answered Dec 02 '22, 12:40 p.m.

You have to append a protocol specifier to the url, ie:

Ralph Schoon selected this answer as the correct answer

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.