New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication failed! Facebook returned an invalid user id #633
Comments
Weired bug, i cant figure out why |
I forgot to post the fix which was because i didn't have trustForwarded set to true. It fixed after that. Hope it helps someone in future! |
@Steeveuk So you only had to add a |
if you Amazon Cloud , you may modify as follow: hope it helps you,@Steeveuk |
@kocsismate can you change, in 2.6.0, the latest I've faced the same issue because the getCurrentUrl() wasn't the same as the |
@Steeveuk you should close this bug as you solved it with |
Unfortunately, I no longer have access to the code for which I needed Hybridauth ^^ |
in base_facebook.php
|
I know this has been posted before, however my issue seems to be different from everyone elses. Basically I have a setup where we have a local, staging and live server and everything connects smoothly on local and staging but live simply keeps getting a fatal exception with this:
Fatal error: Uncaught exception 'Exception' with message 'Authentication failed! Facebook returned an invalid user id.' in /home/dashboard/library/HybridAuth/Hybrid/Auth.php:169 Stack trace: #0 /home/dashboard/library/HybridAuth/Hybrid/Auth.php(55): Hybrid_Auth::initialize('/home/dashb...') #1 /home/dashboard/library/core/UserSocialConnection.class.php(19): Hybrid_Auth->__construct('/home/dashb...') #2 /home/dashboard/public_html/modules/entities/settings/index.php(10): core\UserSocialConnection::get_hybrid_auth(false) #3 {main} thrown in /home/dashboard/library/HybridAuth/Hybrid/Auth.php on line 169
I have changed it from https to http and ensured the base URL is correct. I have also tried multiple configs, permissions and pretty much exhausted every avenue I can think to debug it. I have checked the other threads on here and on Stack overflow to no avail. If anyone has come across this issue before or has any suggestions I am all ears.
Cheers
The text was updated successfully, but these errors were encountered: