Fullscreen
Loading...
 
Skip to main content

Facebook Login not working

Status
Closed
Subject
Facebook Login not working
Version
19.x
Category
  • Error
  • Regression
Feature
Social Networking
User Administration (Registration, Login & Banning)
Resolution status
Fix on the Way
Submitted by
Kaya Saman
Volunteered to solve
lindon
Lastmod by
Kaya Saman, lindon, luci
Rating
(0)
Description

Hi, I've setup a Facebook application to work with other systems and all is fine I can use the FB login feature. When using Tiki however, I go to Login then Login with Facebook option and straight away I hit this in the browser:

Copy to clipboard
Possible cross-site request forgery (CSRF, or "sea surfing") detected. Operation blocked.


If I hit "Confirm Action":

1. if no fb_xxxxx user is created then a user called fb_ gets created but without any email or name

2. if fb_ user exists per above then login gets denied with:

Copy to clipboard
We were unable to create a new user with your Facebook account. Please contact the administrator.


In the log all I see is "cannot connect to facebookGraph".

The userid and pass are both installed in Tiki for my FB app and I have the FB callback URL set to: FQDN/tiki-socialnetworks.php?request_facebook as per the documentation.

Solution

The CSRF part of the issue was solved with r68682. The garbling of the user name was fixed with r68682. Haven't solved the connection issue and I am not able to recreate the problem.
-----
Update: Login issue solved with r68715 and r68788

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6997
Created
Friday 11 January, 2019 22:43:15 UTC
by Kaya Saman
LastModif
Sunday 27 January, 2019 23:57:36 UTC


Show PHP error messages