I'm implementing Facebook login in my django application.
The parts of creating new users and let those users to login via facebook are working without any issues.
My problem is when a user logged-in with a facebook acount and want to logout from my application.
to logout a user from my application I'm using the link:
<a href="{% url 'auth:logout' %}?next={{ request.path }}">Logout</a>
This link log the user out of the application, but keep the browser logged-in to facebook
When the user will try to login again, no facebook pop-up let him an option to login as another user for instance.
This can become a real issue if 2 users are working on the same computer.
Let say a user is at a friend's home and she want to do some work with my application.
she will login with her facebook acount, do the work and logout.
From her perspective she logged out from everything she was doing.
But this is not the case. The browser is still logged-in to facebook with her user!
If the friend will try to login to my application, she will be in without any need to give username/password and with the user of her friend.
In addition, Facebook terms of use says "Provide a "Log Out" option that functions properly and is easy to find" (in here)
Is there a way to force re-login? or to force a facebook logout as well as a django logout?