Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openpicker within iframe #6

Open
mounika-mudda opened this issue Dec 13, 2017 · 1 comment
Open

Openpicker within iframe #6

mounika-mudda opened this issue Dec 13, 2017 · 1 comment

Comments

@mounika-mudda
Copy link

We are using the SDK to get the file lists within a iframe. We are getting a error message,

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://abc.com') does not match the recipient window's origin ('https://xyz.com').

Is there any way we can pass origin when calling openPicker ?

@naugtur
Copy link
Collaborator

naugtur commented Dec 14, 2017

I'm surprised it's falling back to postMessage. Are you running it on IE8/9 ?
If I recall correctly, postMessage is used in SDK solely as a workaround for cross-origin access in old IEs

Is anything affected beyond just the error showing in the console?

Please share your browser details and, if possible, a minimal html page that reproduces the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants