Topic-icon Cannot sign in with Social Networks

Support Specialist
4 years 17 hours ago #66289 by mel
Please see your private message for a suggested code change. Once we confirm if it fixes your problem, then I'll check it in for our next release.

-Melissa
The topic has been locked.
Active Subscriptions:

None
4 years 3 hours ago #66292 by ozbit
Hello Melissa
I have modified the code as suggested.
We now do not receive the original error message.


Process:
1. Login to site with Yahoo account.
receive following message.

Message
Yahoo profile successfully connected.

2. When attempting to access the profile area or any other area marked as registered receive the following message.
Error Please log in or sign up to view or modify your profile.

3. Check JFBConnect use map in back-end and the yahoo account is registered.

All seems correct however the user cannot access logged in website services.
Thanks
The topic has been locked.
Support Specialist
3 years 11 months ago #66295 by mel
A couple of things to check:

1. Can you check to see if the new user is activated? Go into the User Manager section to find this.
2. When the profile is created, is the user actually logged in our your site at that moment? If you go to index.php?option=com_users&view=profile can you see standard Joomla profile?
3. Can you check that the user is in the correct user groups? There's also a setting in JFBConnect backend > Configuration > General on which user group new users will be placed into.
4. Can you provide a URL you're expecting to be able to access once you're logged in via Yahoo? I'd like to see it in action if the above don't help narrow down the issue.

-Melissa
The topic has been locked.
Active Subscriptions:

None
3 years 11 months ago #66297 by ozbit
1. Can you check to see if the new user is activated? Go into the User Manager section to find this.
Yes user is activated in Joomla user manager.
2. When the profile is created, is the user actually logged in our your site at that moment? If you go to index.php?option=com_users&view=profile can you see standard Joomla profile?
NO . when the user appears to have logged in when the profile tab is selected the message .... Error
Please log in or sign up to view or modify your profile.
Although the message on the previuso page states "You have successfully signed in with your Yahoo credentials.
3. Can you check that the user is in the correct user groups? There's also a setting in JFBConnect backend > Configuration > General on which user group new users will be placed into.
New User Registration Groups = Registered
4. Can you provide a URL you're expecting to be able to access once you're logged in via Yahoo? I'd like to see it in action if the above don't help narrow down the issue.

iotsecurityinstitute.com/iotsec/index.php/profile

Thanks
The topic has been locked.
Support Specialist
3 years 11 months ago #66300 by mel
When I attempt to log in with my Yahoo credentials, it proceeds to the mini-registration page of JFBConnect. The "Yahoo profile successfully connected" message is shown on this page, but the user has not been created yet. When I try to register from this page, I get the error "The email address you entered is already in use. Please enter another email address".

If possible, you can send me a private message with your backend credentials (using the envelope icon under my avatar) and I can take a look at how JFBConnect and your plugins are configured. Otherwise, could you describe how you've set up "Enable Automatic Registration", "Automatically Link Users by Email", Normal Registration > "Email Field on Registration".
The topic has been locked.
Active Subscriptions:

None
3 years 11 months ago #66329 by ozbit
Hello Melissa,
Any update ion this issue?
I have sent you login credentials and we see you have attempted to register.
We need to sort this out as members trying to login with Yahoo are not able too.
Thanks
The topic has been locked.
Support Specialist
3 years 11 months ago #66330 by mel
Actually, we've been a little stumped by this. It's pretty bizarre.

It appears that when you hit the Yahoo login button, a user is actually generated. However, you are then redirected to the login register page (after the user is created already). If you do the same action with the Facebook login button, the user is generated and you're correctly pushed to the profile page.

* We've attempted looking through your plugins to see if there were any conflicts on redirecting, but haven't found one that would cause this.
* Some fields in CB are required but not imported, so we thought that might be related. However, the CB user is activated properly.

Have you made any other changes to the JFBConnect and SCLogin code besides the Yahoo workaround that I provided? If not, would you be able to provide us with FTP access so we can try to step through code to see what's pushing us to the login/register view?

-Melissa
The topic has been locked.
Support Specialist
3 years 11 months ago #66336 by mel
So we were able to reproduce and figure out the cause of this on my test site tonight. It appears with the newer Yahoo apps, the user ID is a very large amount of characters that our database table is not handling properly. I'm actually working on a new release that should be out tomorrow or the next day and will include a fix. Just wanted to give you a heads up that we won't need FTP access.

-Melissa
The topic has been locked.
Active Subscriptions:

None
3 years 11 months ago #66337 by ozbit
Excellent Melissa. Thanks you.
Your assistance has been exemplary.

Thanks
The topic has been locked.
Active Subscriptions:

None
3 years 11 months ago #66345 by ozbit
Hello
We have downloaded the latest version however we cannot install it. recieve following error.

Copy failed: /home/cybersec21/public_html/iotsec/tmp/install_5eb3354053fe0/frontend/libraries/provider/yahoo.php to /home/cybersec21/public_html/iotsec/components/com_jfbconnect/libraries/provider/yahoo.php
JInstaller: :Install: Failed to copy file /home/cybersec21/public_html/iotsec/tmp/install_5eb3354053fe0/frontend/libraries/provider/yahoo.php to /home/cybersec21/public_html/iotsec/components/com_jfbconnect/libraries/provider/yahoo.php
Component Update: Failed to copy site files.

Thanks
The topic has been locked.