CiscoDevNet / finesse-sample-code

Sample Gadgets and code for use with Finesse
MIT License
82 stars 32 forks source link

Problem with CUICSampleGadget and EmbeddedWebAppSampleGadget #11

Open petraraab opened 4 years ago

petraraab commented 4 years ago

I used these Gadgets in previous UCCX Versions (many thanks for that) but with Version 12.0 i have the problem of having emtpy Gadgets without the Data but just with the headlines. Chrome Debugging Tools tells me "DOMException: Blocked a frame with origin "url of my uccx" from accessing a cross-origin frame. Any Ideas how to fix this?

dekwan commented 4 years ago

Hi,

Are you using the gadgets as is or did you modify it (other than the url)? Due to security, you cannot access the iframe from another domain. Take a look at this forum thread: https://forums.asp.net/t/2119174.aspx?Blocked+a+frame+with+origin+from+accessing+a+cross+origin+frame+

Both gadgets were verified to be working for 12.0.

Thanx, Denise

petraraab commented 4 years ago

Hi Denise,

i did modify it to show the right title and height. But I now also tried without modifying except the url, but it doesn’t work either. The cross origin I really do not understand because cuic is collocated on uccx as of finesse. So its all on the same server, and the same fqdn within the url.

[cid:image001.png@01D5E282.ECBD6A40]

[cid:image003.png@01D5E282.ECBD6A40]

Cheers Petra

Von: Denise Kwan notifications@github.com Gesendet: Mittwoch, 12. Februar 2020 23:34 An: CiscoDevNet/finesse-sample-code finesse-sample-code@noreply.github.com Cc: Petra Raab Petra.Raab@nts.eu; Author author@noreply.github.com Betreff: [EXT] Re: [CiscoDevNet/finesse-sample-code] Problem with CUICSampleGadget and EmbeddedWebAppSampleGadget (#11)

Hi,

Are you using the gadgets as is or did you modify it (other than the url)? Due to security, you cannot access the iframe from another domain. Take a look at this forum thread: https://forums.asp.net/t/2119174.aspx?Blocked+a+frame+with+origin+from+accessing+a+cross+origin+frame+

Both gadgets were verified to be working for 12.0.

Thanx, Denise

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/CiscoDevNet/finesse-sample-code/issues/11?email_source=notifications&email_token=AORFR2EQXQA4EJU4DULN2L3RCR2O7A5CNFSM4KTZMNAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELSUYCI#issuecomment-585452553, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AORFR2BTRDKPMGGTBZJ5AU3RCR2O7ANCNFSM4KTZMNAA. DISCLAIMER: This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you.