Skip to content

Cross Origin Issue? #6

Description

@erwstout

I'm receiving this error when using this component,

Uncaught DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "https://myapp.herokuapp.com" from accessing a cross-origin frame.

I have tried setting setOrigin to false and also an array of URLs and still get this error when building.

Is this a bug or is it because I'm on different domains for the React app and iframe src?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions