Facebook Authentication

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Sep 16, 2013 10:24 pm
Reply with quote
Report this post
Has anyone figured out a solution for making the Facebook authentication work? I know there have been multiple posts in the forum on this, but I can't find a solution. There was a posted solution a while back by Don Lee, but that posted solution (https://www.gavick.com/forums/general-d ... 19#p130619) didn't work for me. Any help or insight on this problem is appreciated.

Thank you!
User avatar
Fresh Boarder

teitbite
Tue Sep 17, 2013 12:12 am
Reply with quote
Report this post
Hi

Please show me Your site.
User avatar
Moderator

GK User
Tue Sep 17, 2013 2:54 am
Reply with quote
Report this post
My site is http://www.gobenevolent.org

Thanks for taking a look.
User avatar
Fresh Boarder

teitbite
Wed Sep 18, 2013 4:12 am
Reply with quote
Report this post
Hi

I've checked Your site, but looks like facebook login works fine. I was able to access Your site. Can You please tell me exactly what You have in mind ?
User avatar
Moderator

GK User
Wed Sep 18, 2013 7:27 am
Reply with quote
Report this post
Hi,

Thanks for looking into that. I see your attached screenshot - I am able to do that as well. It will prompt you giving permission to access your Facebook account, like your screenshot shows. If you agree to give access to your Facebook account, the login name changes to "Facebook" and it inputs a password. When you then click login with Facebook, it will redirect you from the pop up to the login page and say that the username and password don't match, or you haven't created an account yet. See the attached screenshot. So you never actually are able to log in. And in the backend of Joomla, no user account is created. I thought with this extension it would create a Joomla user account for you and log you into the website just as if you registered for an account on the Joomla website. Is that not how this is supposed to work? Can you try and complete the login process to see if you are able to log in to the site?

Thank you for the help.

facebook-login.jpg
User avatar
Fresh Boarder

teitbite
Thu Sep 19, 2013 5:09 am
Reply with quote
Report this post
Hi

Sorry, all reports about not working facebook login were that nothing is happening after clicking the button so I assumed You must have fixed it already. I think in Your case problem may be a code for this application. Please try replace /layout/blocks/social.php file with the one I have from a site where this works fine.
User avatar
Moderator

GK User
Fri Sep 20, 2013 6:15 am
Reply with quote
Report this post
Hi,

Again thanks for the help. I downloaded the social.php file that you posted and put it in place or the existing file I had in /layout/blocks/social.php. It still isn't working. Any other ideas? Is it perhaps the faceboook.php file in the /layout folder?

Thanks.
User avatar
Fresh Boarder

teitbite
Sat Sep 21, 2013 1:40 am
Reply with quote
Report this post
Hi

I have no idea. Please send me an access to joomla panel and ftp, so I'll sent this task to programmers.
User avatar
Moderator

teitbite
Sat Sep 28, 2013 12:59 am
Reply with quote
Report this post
Hi

I got Your access. Please try following this first:

In plugin core file - plugins/authentication/facebook/facebook.php we need to change :

JAUTHENTICATE_STATUS_SUCCESS;

to :

JAuthentication::STATUS_SUCCESS;

and

JAUTHENTICATE_STATUS_FAILURE

to

JAuthentication::STATUS_FAILURE


Let me know if this makes a difference.
User avatar
Moderator

GK User
Tue Oct 01, 2013 7:18 am
Reply with quote
Report this post
Hi,

That code change worked. Thanks for the help - I really appreciate it!
User avatar
Fresh Boarder

teitbite
Wed Oct 02, 2013 11:53 am
Reply with quote
Report this post
Hi

Great to hear that :) I'm glad we could help.
User avatar
Moderator


cron