Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HybridAuth Facebook returned an invalid user id

I am getting the following error:

Authentication failed. The user has canceled the authentication or the provider refused the connection.
Original error message: Authentication failed! Facebook returned an invalid user id.

tried a lot of things like to add in the base_facebook.php

CURLOPT_SSL_VERIFYPEER => false

aswell as to improve the curl timeout, but it wont works.
The app isnt in facebook sandbox mode anymore so I literally have no guess left.

like image 324
spyfx Avatar asked Nov 16 '25 22:11

spyfx


1 Answers

I just solved that problem by setting the "Is your App Secret embedded?" switch to "no" in the "advanced settings" tab on https://developers.facebook.com/x/apps/myid/settings/advanced/ .

like image 93
Maximilian Tyrtania Avatar answered Nov 19 '25 14:11

Maximilian Tyrtania