You need to sign in to do that
Don't have an account?
Rakesh Sharma 78
page SecurityError: Blocked a frame with origin https://----.my.salesforce.com from accessing a frame with origin https://----.lightning.force.com Protocols, domains, and ports must match.
Hi,
I am trying to install Open CTI Demo adapter app on my lightening app. But after setup, when i click on phone it throws error.
SecurityError: Blocked a frame with origin "https://------.my.salesforce.com" from accessing a frame with origin "https://-----.lightning.force.com". Protocols, domains, and ports must match.
Couple of things i tried below like
1. whitelisting URL in CORS
2. Updating CTI adapter URL to include domain.
But i an still facing this issue and due to this phone comes as blank page (doesn't loads). I am testing on Safari/Chrome. Thanks in advance for your help.
-Rgds
I am trying to install Open CTI Demo adapter app on my lightening app. But after setup, when i click on phone it throws error.
SecurityError: Blocked a frame with origin "https://------.my.salesforce.com" from accessing a frame with origin "https://-----.lightning.force.com". Protocols, domains, and ports must match.
Couple of things i tried below like
1. whitelisting URL in CORS
2. Updating CTI adapter URL to include domain.
But i an still facing this issue and due to this phone comes as blank page (doesn't loads). I am testing on Safari/Chrome. Thanks in advance for your help.
-Rgds
I trust you are doing very well.
Please refer to the below link with a similar discussion which might help you further with the above issue.
https://github.com/developerforce/open-cti-demo-adapter/issues/4
https://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame
https://stackoverflow.com/questions/19837354/chrome-blocks-different-origin-requests
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas