i’m using nuxt + Laravel Socialite plugin to handle auth through social networks
when user clicks link network i open new popup window via window.open with link to my back, that redirects to provider
when auth successfully completed on provider side i do some redirects to handle results and then i redirect user to my custom page where i call window.close to close this popup
and everything works fine with googleapple at iPhone devices, PC, Mac
but at android devices with Facebook login it looks like that my popup loses window.opener and i just can’t close this window
maybe someone know how to fix this behavior?
tried to close popup from parent page using broadcast channels
and also looks like facebook doesn’t lose opener when my facebookapp doesn’t have access to login and it just showing me error screen with ok buttonenter image description here
at this case everything works fine
Misochenk0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.