Open akramfares opened 11 years ago
Ok, I reproduced the bug, I've only tested the application with an existing account, when you first connect to the website, this error occurs. I'll look into this, thanks for the report.
Hello,
I found that the problem come from this line : $fbdata = $this->facebook->api('/me'); on djepo\UserBundle\Security\User\Provider\FacebookProvider;
I'm searching on how to fix it.
Akram FARES
EDIT: I'm on localhost, so cURL can't make https requests wich is causing the problem. The fix is to add this line on base_facebook.php line 935 : $opts[CURLOPT_SSL_VERIFYPEER] = false;
And don't forget to update the security.yml :
line 57 : login_path: /fb/login => login_path: /login
base_facebook.php is part of facebook's sdk, i don't want to modify it. I moght have problem in another configuration file.
I've made an update. It should work now.
Hello,
When i try to connect with my facebook account, it redirect me to /fb/login and I get this message : No route found for "GET /fb/login"
I searched for it in the routing file, i didn't find the /fb/login route.
Thank's, Akram FARES