[Answer]-Python-social-auth logs into 3rd party service (like facebook) along with logging into my app

1👍

I have faced the same issue in earlier days, But that time I have used django_allauth. You can’t logout facebook when your app is logout. I didn’t know django-social-auth, But this answer may be useful,

Python Social Auth NotAllowedToDisconnect at /disconnect/facebook/1/

But I have solved issue my own way using facebook graph,

function logout_social() {
   FB.logout(function(response) {  // for facebook logout
  window.location.href = '/logout' // for my app logout
});
} 

How to logout the facebook using django-allauth?

👤dhana

Leave a comment