Zaghdoudi Amine
Zaghdoudi Amine
you should add: FB.Event.subscribe('auth.logout', function(response) { window.location.href = "{{ path('_security_logout') }}"; }); after "FB.Event.subscribe('auth.statusChange" in the onFbInit function. appareintly when we logout with Facebook button the event is not yet...
the redirect work wwell. He redirect to an action of bundle that check login with facebook graph and after they redirect you to the referrer page
the {{ path('_login_check') }} refer to the check path that you've defined in sexurity parameters: fos_facebook: check_path: /login_fb_check