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

Issue running from iframe. #90

Open
nickponline opened this issue Oct 5, 2016 · 0 comments
Open

Issue running from iframe. #90

nickponline opened this issue Oct 5, 2016 · 0 comments

Comments

@nickponline
Copy link

nickponline commented Oct 5, 2016

Code works outside the iframe and is simply:

OAuth.initialize('<redacted>')
  OAuth.popup('facebook').done(function(result) {
      console.log(result)
      // do some stuff with result
  })

But I get this error when it's run inside an iframe:

VM2765 oauth.min.js:1 Unsafe JavaScript attempt to initiate navigation for frame with URL 'https://oauth.io/auth/box?k=XXX&d=filesystem%3A%2F%…2%3A%22qOaITfveDhlGJvQ3x0yqE6Fx0Y0%22%2C%22state_type%22%3A%22client%22%7D' from frame with URL 'filesystem:https://nickponline.mydomain.com/index.html'. The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener.

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

1 participant