[Answered ]-How can I logout facebook itself on Django APP with python-social-auth?

1👍

I think you can’t logout the user using python. See also this post

But you can easily logout the user using the Javascript SDK:

<a href="/logout" onclick="FB.logout();">Logout</a> 

1👍

I haven’t used python-social-auth, but technically you cannot.

When user logs in via Outh2.0, user is directed to social site’s URL, where user logs in to that social site. After that one of your URLs or methods is called by the social site to tell you that user is authenticated. Your servers or code is never involved in this login process, so you cannot interfere with it and logout user.

Leave a comment