Topic-icon I Get 403 error on Facebook Login

Active Subscriptions:

None
Hello there,

I installed JFBConnect to integrate it with Easysocial. I enabled JFBConnect in Easysocial setting so user can login with Facebook.
Now, I click on Facebook button to login and when enter my Facebook credential on the form, i get redirected to 403 error page.

I set everything as following:

- I filled App ID, Secret Key and Token in Facebook provider.
- I ran Autotune, and everything is fine.
- In Facebook, i set URL of the site as: www.mydomain.com/
- I set Oauth Redirect URIs as www.mydomain.com/index.php?option=com_jf...ck&provider=facebook
- I set Alert URL for authorization cancellations as www.mydomain.com/index.php?option=com_jf...task=deauthorizeUser
- SDK Javascript domain is www.mydomain.com/
- In JFBConnect configuration, in General Tab, i selected Easysocial as Resgistration Component and set every option to Yes. In login/logout subtab, i set redirection to "Same page" for new user and returning user. Also, Easysocial profile plug is enabled and i selected the default easysocial profile.
- At this step, i did not review Scope yet.
- I disabled SH404sef extension to see how it goes, but there is not conflict with this extension.

Something missing?

Help please.
 
The topic has been locked.
Support Specialist
2 years 2 weeks ago #67926 by alzander
I just tried logging into the site that you've run Autotune from (w*****.com). When I try, the Facebook authentication popup displays the following message:

Feature Unavailable
Facebook Login is currently unavailable for this app, since we are updating additional details for this app. Please try again later.

That's not a message we've seen before, so I'm not exactly sure what it means.

Your steps above look right and what I see on the front-end code looks correct as well. Can you go into the Facebook Developer Area and make sure your "App Mode" is set to "Live" at the top of your application?
If it's in development mode, we won't be able to authenticate on the front-end.

Once we can get past the message above, we should be able to see what URL the 403 error is coming from and help you resolve it.

Thank you,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello,

The App was already set in Live mode.
I've just changed the secret key, but still petering out.
I ran Autotune again, i see this error on step "Error Check": 
  1. Test: Facebook Javascript library inclusion
    • Fail: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict.
I'm running a module to get facebook feeds. I disabled it to see, but does not work. I've also some social sharer buttons and some extension that allows to set Facebook Like button... What kind of Facebook extension could cause conflict?

Also, this is the url that appears on 403 error page, maybe will help: 
www.domain.com/component/com_jfbconnect/...,authenticate.login/

Best regards.
The topic has been locked.
Active Subscriptions:

None
Hello there,

I can prepare a testing site and Facebook access so you could check. Does it suit you?

Best regards.
The topic has been locked.
Active Subscriptions:

None
Hello,
Could you kindly answer me on this issue.

I made some change in Facebook dev console: i gave Advanced Access for "public_profile" and "email" in Permission Feature and started App Controle process. Live mode still enabled.
Now i think the error "Facebook Login is currently unavailable for this app..." does not show anymore at your side. Please check and tell me if you need for access to testing site.

Best regards.
The topic has been locked.
Support Specialist
2 years 2 weeks ago #67935 by mel
The error I'm receiving now is "The email domain This email address is being protected from spambots. You need JavaScript enabled to view it. is not allowed". I don't believe that error is coming from Facebook. Can you look at the JFBConnect backend settings and see if you've limited the registration domain or if you have any other extensions that you would limit your registration by email domain?

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hello there,

I tried to add your email domain, or allow all email domains in easysocial setting, but seems not working. Will contact easysocial support for that.
Please try with a domain like gmail.com, yahoo.fr/com, hotmail.fr/com, outlook.com, msn.com for now. Thanks.

New update:
As long as JFBConnect system plugin stays enabled, easysocial registration button on frontend gives me a 403 error. So i reordered JFBConnect plugin to the last, and registration button works fine now.
However, Facebook login is still giving me a 403 error.

It's ok if JFBConnect system plugin is reordered at last of all plugins?
Please tell me if you still cannot login with email domains above.

Best regards.
The topic has been locked.
Support Specialist
2 years 2 weeks ago #67940 by mel
I was able to log in with our Faceboo Login button on your page without a 403 error from Facebook. You can see a user meland on your site with gmail.com email domain.

I couldn't find a log out button, so when I cleared out my session from the browser, I refreshed your page and was automatically logged in via my Facebook credentials as expected since autologin is enabled.

Could you provide more detailed steps/screenshots of what's still not working?

Your test site that I saw from Autotune has development mode enabled, so this was on your live site.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hello there,

Sorry for delay. I was sick.

Yes, i've seen your account meland.
Now, I understand that the error 403 is caused by the user account that i try to login with, cause i found out that this user has no permission to login from frontend. Yes i missed that, sorry.
I will try with another Facebook account, it's supposed to be fine now.
Thanks for the support.

Best regards.
The topic has been locked.
Support Specialist
2 years 1 week ago #67945 by mel
Not a problem. Hope you're feeling better. We're glad you were able to get to the root cause of it. Let us know if you run into any more problems with this issue.

-Melissa
The topic has been locked.