Topic-icon Facebook Login on Firebox 66.0.2 not working

Active Subscriptions:

None
5 years 2 weeks ago #65303 by guero
Hello!

On Joomla 3.9.4 using latest JFBC 8.1.0 a user has the problem to login via Facebook via Firefox browser (Mac). The same user can login via Chrome and Safari

On Firefox developer console the following error gets listed:

ReferenceError: FB is not defined[Learn More] jfbconnect.js:42:13
facebook www.site.com/components/com_jfbconnect/i...jfbconnect.js?v=6:42
provider www.site.com/components/com_jfbconnect/i...jfbconnect.js?v=6:33
onclick www.site.com/:1

Link to the JFBC javascript file ...
// Special method for Facebook. Should not be called directly in case it changes. Use jfbc.login.provider('facebook') instead
facebook: function ()
{
FB.login(function (response)
{
if (!jfbc.login.logged_in)
jfbc.login.facebook_onlogin();
else
jfbc.permissions.fetch();
}, {
scope: jfbc.login.scope
});
},

Any idea whats wrong there?

Best regards
Frank
The topic has been locked.
Support Specialist
5 years 2 weeks ago #65304 by alzander
Firefox has some aggressive settings to stop tracking features of websites. Those settings can disable Javascript from sites like Facebook, which is used for one form of our login process.

Can you ask your user to go into the Firefox settings -> Privacy & Security area. Then, under Content Blocking, check the setting. Standard should not prevent the Facebook Javascript. Any other setting can.

There are 2 ways to fix this issue:
* The user can lower their content blocking settings
* You can change the "Show 'Login Credentials' In Popup" setting in the JFBConnect -> Configuration -> Facebook area to 'No'. This will change the login process to redirect the user to Facebook.com to authenticate. The popup requires Facebook's Javascript to work, but the server redirection method does not.

I hope that helps get you going,
Alex
The topic has been locked.