The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook Callback bug
#1
Hello.

Great login platform; thank you for providing it. I studied it the other day and downloaded it yesterday. been configing it. I just got FB app connected and discovered a bug on the callback. Found a solution on overstack due to not finding it here in the forum.

Error
Facebook SDK returned an error:
Cross-site request forgery validation failed.
The "state" param from the URL and session do not match.

Fix:
insert this code after $helper = $fb->getRedirectLoginHelper(); --Line 23 on fb-callback.php
Code:
$_SESSION['FBRLH_state']=$_GET['state'];


Reference
https://stackoverflow.com/questions/3202...-failed-th
  Reply


Messages In This Thread
Facebook Callback bug - by jdmfarms - 06-13-2017, 03:33 PM
Facebook Callback bug - by mudmin - 06-20-2017, 11:34 AM
Facebook Callback bug - by mudmin - 09-09-2017, 01:18 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)