Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Delegated Dialog - CSP frame-ancestor

 Hello,

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/com.ibm.team.workitem.WIPicker?projectAreaId=<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?

Thanks!

0 votes

Comments

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? 

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

I'm facing the same problem.


Accepted answer

Permanent link

You have to append a protocol specifier to the url, ie:
https://server/blablabla#oslc-postMessage-1.0

Ralph Schoon selected this answer as the correct answer

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 516

Question asked: Nov 20 '18, 2:20 a.m.

Question was seen: 2,608 times

Last updated: Dec 02 '22, 12:40 p.m.

Confirmation Cancel Confirm