• Resolved dominic1211

    (@dominic1211)


    Hi Support

    Can please help me on this.

    The social login doesnt log out the person completely as FB recognises that they have previously logged in with that account and just asks if they want to log in again. Issue is that one person can login in a central computer and multiple people can keep accessing by just clicking yes.
    Any way to completely log them out so that each time they have to add their FB details to log in?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @dominic1211

    Nextend Social Login is a simple social login plugin, the log out must be handled by your site itself. So if there is a need for logging out the user from both your site and Facebook that must be done via custom coding.

    Actually if the user want to logout from Facebook it self that should be done on the official Facebook site, not on your own site.
    Just imagine the following situation:
    -a user who was already logged into Facebook visits your site and connects with Facebook
    -the user decides to log out on your site

    In this case the user would also be logged out from Facebook, which would violate the users’ expectations. But if this is the behavior what you would like to achieve, then you will could to integrate the JavaScript SDK of Facebook and trigger its logout function on your logout button as you see here:
    https://developers.facebook.com/docs/facebook-login/web/#logout

    But logging out a Facebook account on a third party site/application is a bad practice according to Facebook as well:
    “Having a logout control inside a game that executes a Facebook-wide logout will violate users’ expectations. Instead, allow users to control their logged-in status on Facebook itself.”
    -Source: https://developers.facebook.com/docs/unity/reference/current/FB.Logout

    Best regards,
    Laszlo.

    • This reply was modified 6 years, 4 months ago by Laszlo.
Viewing 1 replies (of 1 total)

The topic ‘Complete log out’ is closed to new replies.