Mautic Community Forums

Social Login with Wordpress

Hello There,



searched already, but did not find a solution. Setup is: WP Blog with WP Mautic installed at “domain.com”, Mautic (2.11) installed at “m.domain.com”. Facebook Plugin successfully integrated in Mautic (App Domains: m.domain.com, domain.com, Website https://m.domain.com).



Tried to add Social Login to a form. On Mautic Landing Page the Social Login works fine. If integrated in Wordpress there is an issue "“Uncaught ReferenceError: openOAuthWindow is not defined at HTMLAnchorElement.onclick ((index):185)”



on line 185 the code is "





How can I fix this? Or is the issue on WP level? Or is it the general setup?



Thanks a lot

Hello There,

searched already, but did not find a solution. Setup is: WP Blog with WP Mautic installed at “domain.com”, Mautic (2.11) installed at “m.domain.com”. Facebook Plugin successfully integrated in Mautic (App Domains: m.domain.com, domain.com, Website https://m.domain.com).

Tried to add Social Login to a form. On Mautic Landing Page the Social Login works fine. If integrated in Wordpress there is an issue "“Uncaught ReferenceError: openOAuthWindow is not defined at HTMLAnchorElement.onclick ((index):185)”

on line 185 the code is "

How can I fix this? Or is the issue on WP level? Or is it the general setup?

Thanks a lot

@Pille Have you enable Oauth ?

This is your error log says ?

Oauth in FB is activated

Which Error log do you mean?

@Pille check in app/log…

No logs in app/log

functionality already breaks on WP side

Could this be an CORS issue?

@Pille need to check your mautic files and dashboard? check my profile and catch me .

Thanks for your assistance! What do you need to know from me exactly?