Getting CORS error when using social login

Your software
My Mautic version is: 2.15.3
My PHP version is: PHP Version 7.2.24-1+ubuntu18.04.1+deb.sury.org+1

Your problem
If i use just email to register a form everything is fine. But when i use social login i get

app.js?vbfd772b4:237 Uncaught DOMException: Blocked a frame with origin "https://marketing.domain.com" from accessing a cross-origin frame.
        at HTMLDocument.<anonymous> (https://marketing.domain.com/media/js/app.js?vbfd772b4:237:347)
        at fire (https://marketing.domain.com/media/js/libraries.js?vbfd772b4:328:299)
        at Object.fireWith [as resolveWith] (https://marketing.domain.com/media/js/libraries.js?vbfd772b4:333:198)
        at Function.ready (https://marketing.domain.com/media/js/libraries.js?vbfd772b4:340:11)
        at HTMLDocument.completed (https://marketing.domain.com/media/js/libraries.js?vbfd772b4:340:291)

I do not have CORS enabled, and besides, if it were CORS then the email one would fail also correct?

Have you added this domain in the application you’re using for the social login? Often they require you to explicitly state the domains on which you can use their applications, and it must be exact (e.g. https/non https, www/non-www).

Im using Facebook social login… there is just domain without option for https or http. For the Valid OAuth Redirect URIs im using exactly with https as well.

Even weirder, my developer can get forwarded fine to the redirect url but not me. I tried another machine, similar issue.