Topic-icon Can't log in with JomSocial/JFBConnect - FB authentication

Active Subscriptions:

None
When using the FB authentication from the JomSocial component, nothing happens. Users are not able to log in.

www.memphisalphas.org/alpha-social

I need help configuring this component...
The topic has been locked.
Support Specialist
5 years 6 months ago #66841 by mel
This is probably related to the other thread that you opened as the same looping behavior is exhibited. Let's keep one thread going here for this issue now.

The usual culprit for this is that the necessary plugins for JFBConnect are not enabled. Specifically, please verify that the JFBConnect User plugin and JFBConnect Authentication plugins are enabled. If they are, please let me know and we'll go from there. Otherwise, please enable and try to authenticate again.

.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Yes, the JFBConnect Authentication plugins were enabled.
The topic has been locked.
Support Specialist
5 years 6 months ago #66844 by mel
Ok. So I experienced the looping and stopped the page. I then revisited later and was logged in. Can you check whether you have the 'System - Page Cache' plugin enabled? This plugin should not be enabled when authentication is needed and could cause this behavior.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Checked the "System - Page Cache".... it was not enabled
The topic has been locked.
Support Specialist
We'll need access to the site to investigate further. Can you Private Message Melissa or I with super admin credentials so we can understand your configuration in more detail. You can PM either of us by clicking the mail icons under our pictures to the left.

Thanks,
Alex
The topic has been locked.
Support Specialist
We'll need access to the site to investigate further. Can you Private Message Melissa or I with super admin credentials so we can understand your configuration in more detail. You can PM either of us by clicking the mail icons under our pictures to the left.

Thanks,
Alex
The topic has been locked.
Support Specialist
5 years 6 months ago #66851 by mel
Thanks for the private message. We also continued investigating after your last post and found that there is definitely something on your site/server that is enabling browser caching. That is the problem as the user's browser will cache the contents of a page. Then, even if you login, the browser is instructed to show its cached version of the page, which will be the view saved when the user was not logged in. Navigating to other pages (that haven't been cached) or telling the browser to reload will show the proper logged-in view.

Using Chrome's developer tools, you can see the browser caching is enabled in this view:
File Attachment:

There's a line where JFBConnect's authentication process occurs. The next line is reloading the page. On the right, you can see where it says "From Disk Cache", which is the problem. Browser caching can have a dramatic impact on speed (since requests don't have to go to your server), but are not recommended whenever a page's content can change (like showing logged in vs not logged in).

We looked through the admin area of your site for caching plugins or options, but couldn't find what could be enabling browser caching. You have over 300 plugins enabled and many components, so it's difficult for us to narrow in on all the options. Additionally, your .htaccess file or other web server configuration settings could enable browser caching, which we don't have visibility into.

Hopefully, the above explanation helps you investigate and find what is enabling browser caching for your site so that you can disable it.
The topic has been locked.
Active Subscriptions:

None
You were right...

In Global Setting, the Cache was set to Conservative. I turned the setting to "off".

Everything seems to work... thanks
File Attachment:
The topic has been locked.
Support Specialist
5 years 6 months ago #66856 by mel
Glad we could help resolve the issue.

-Melissa
The topic has been locked.