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

'X-Frame-Options' to 'sameorigin' Issue #65

Open
alvinsy32 opened this issue Jan 16, 2019 · 2 comments
Open

'X-Frame-Options' to 'sameorigin' Issue #65

alvinsy32 opened this issue Jan 16, 2019 · 2 comments

Comments

@alvinsy32
Copy link

I used this plugin before and it is working well until we migrated to new server. it is throwing this error Refused to display '...' in a frame because it set 'X-Frame-Options' to 'sameorigin'. Please help

@Joham
Copy link

Joham commented May 6, 2020

If apache set frame-ancestors

.. IfModule mod_headers.c ..
Header set Content-Security-Policy "frame-ancestors 'self' *.site1.com *.site2.com;"
.. IfModule ..

@waynejb
Copy link

waynejb commented Jul 6, 2020

I seem to have a site not getting the same error message "in a frame because it set 'X-Frame-Options' to 'sameorigin'." Not sure how to resolve. Started happening in June. The frame is coming from another domain.

I actually found a solution that makes this work: https://zinoui.com/blog/security-http-headers

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

3 participants