Topic-icon User Login issue

Active Subscriptions:

None
1 year 5 months ago #68318 by eashery
User Login issue was created by eashery
We are facing login issue by JFBC. 

Case1: User try login by JFBC, he becaome logged in but it doesn't not appear on page(site login bar). After refreshing the page again we can see he is logged in.

Case2: User is not able to login.

JFBC Version: 8.0.3
Joomla Version: 3.9.22

Note: Right now we can't update any version.

Plesae let us know the solution.
The topic has been locked.
Active Subscriptions:

None
1 year 5 months ago #68326 by eashery
Replied by eashery on topic User Login issue
Waiting for response.
The topic has been locked.
Support Specialist
1 year 5 months ago #68330 by mel
Replied by mel on topic User Login issue
Could you provide more information, such as:
* a specific URL where I can see the behavior in action
* if there are any error messages in the console or screen
* what steps you're taking differently between the two cases above
* what browser you're using
* is there a user mapped in the JFBConnect backend user map area? 
* have you switched apps from one that was previously used on the site?

If you're on such an old version, that may be part of the problem. However, I attempted to log in via my Facebook credentials (against I think is your site with 8.0.3) and it appeared that I logged in without having to refresh the page. (see the attachment).

-Melissa
 
Attachments:
The topic has been locked.
Active Subscriptions:

None
1 year 4 months ago #68346 by eashery
Replied by eashery on topic User Login issue
This issue happens after the user session has ended and they come back to the site. We drive all of our traffic from email so a user who was logged in earlier in the day clicks the link, it takes them to the correct page and then refreshes to log them back in which redirects them to our /blab page. To replicate this, you would have to login and then wait a bit and then go back to the site.

a specific URL where I can see the behavior in action :
* if there are any error messages in the console or screen : No
* what steps you're taking differently between the two cases above : We just click on social login button like FB,Google and Twitter but we are not able to login and some time not redirected to the page where it should go after login
* what browser you're using : Chrome
* is there a user mapped in the JFBConnect backend user map area? :Yes
* have you switched apps from one that was previously used on the site? No

I can create a video and upload it so you can see what's happening.
The topic has been locked.
Active Subscriptions:

None
1 year 4 months ago #68347 by eashery
Replied by eashery on topic User Login issue
We can't put the URL because your system is marking it as SPAM. I will try doing it this way:

a specific URL where I can see the behavior in action : https://blabber (dot) buzz.
The topic has been locked.
Active Subscriptions:

None
1 year 4 months ago #68348 by eashery
Replied by eashery on topic User Login issue
I was able to make a video to show what is happening. The first click you will see is from our email which brings you to the article and then it quickly redirects the user to the /blab page which then logs them in. The second click is after the /blab page loaded and I was logged in, I then clicked the article link once again and it brought me to the correct page (logged in).

watch.screencastify.com/v/ITxdD3xLWYdba9V8U6hw
The topic has been locked.
Support Specialist
1 year 4 months ago #68354 by alzander
Replied by alzander on topic User Login issue
I watched the video but am still a little confused as to the issue. In the original post, you mention that user's aren't being shown as logged in. From the video, the user is automatically logged in and it shows they are. Is the issue that they are redirected to the /blab page and shouldn't be? If that's not the problem, can you describe a bit more what the actual issue is?

Also, for the auto-logging in, is that using JFBConnect's Facebook option of "Auto Login Facebook Users"? If not, how are they automatically being logged in?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
1 year 4 months ago #68356 by eashery
Replied by eashery on topic User Login issue
Yes, you are correct, the issue is that the user is getting redirected and not staying on the original page that they were intended to see from the email click.

Yes, we are using JFBConnect's Facebook option of "Auto Login Facebook Users"

Thanks for your help on this, our users are getting frustrated.
The topic has been locked.
Support Specialist
1 year 4 months ago #68363 by alzander
Replied by alzander on topic User Login issue
Ok, thanks for clarifying the problem. First, please check the "Returning User Redirection" setting in JFBConnect's Configuration area. It should be set to "Same Page" so that the user remains on the page they login in from.

If that setting is correct, we'll need to narrow down further. To do so, can you do the following:
* Log out of your site
* Disable the "Auto Login Facebook Users" setting
* Then, click a link from an email
* On the new page, you should not be logged in automatically (setting above disabled)
* Click the "Login with Facebook" button
* Let me know where that brings you...

If you stay on the same page, there may be an issue with the automatic login functionality.
If you're redirected, then something else is messing with the redirect URL and we'd have to investigate that further. In that case, can you let us know what kind of component you are sending user's to in your emails? Is that just a standard Joomla article or is it content from some other extension?

Sorry to answer your question with a lot more questions, but every detail helps us narrow things down.

Thanks,
Alex
The topic has been locked.