Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3165

SAP Portal and Cordova - Protocols must match issue

$
0
0

Hi!

 

I want to embed the SAP Portal within the Cordova application. I use an iframe to load the page (added in the index.html file), but once the login page loads some errors occur:

 

[Error] Blocked a frame with origin "https://<portalHostName>:<portalPort>" from accessing a frame with origin "file://".  The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "file". Protocols must match.

[Error] Blocked a frame with origin "https://<portalHostName>:<portalPort>" from accessing a frame with origin "file://".  The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "file". Protocols must match.

 

How can they be fixed?

I have tried almost everything and still nothing..

 

Best Regards,

TD


Viewing all articles
Browse latest Browse all 3165

Trending Articles