Getting issue while logging in <iframe> using Hybrid Auth

I have successfully integrated the Hybrid Social Auth api ( https://github.com/hybridauth/hybridauth ). The problem is that when someone wants to create an iframe of my site on their own website, this creates a problem during login. Is there any solution?

+4
source share
1 answer

iframesand framesaround the border of the header X-Frame-Optionsto prevent clickjacking . You need to make sure that this parameter is set to SAMEORIGINor something that will allow the contents to be displayed inside the frame. you must be fine until it is DENY.

if you do not control the server of the page you are trying to create, then you are blocked by them for security reasons.

0
source

Source: https://habr.com/ru/post/1616704/


All Articles