django-mama-cas icon indicating copy to clipboard operation
django-mama-cas copied to clipboard

On closing every microapp when SESSION_COOKIE_AGE expires

Open marcosthejew opened this issue 7 years ago • 1 comments

Hello, when the session is closed due to the SESSION_COOKIE_AGE expiring, the server which uses django-mama-cas closes correctly but the tickets are not being consumed so the microapps are not being logged out as they normally do when the logout view is called by the user. Is there an estimated time for merging this feature?

marcosthejew avatar Nov 02 '17 21:11 marcosthejew

Hi @marcosthejew,

You are supposed to run ''clearsessions'' Django command from time to time. Maybe there should be a command to clear tickets too? and then logout the microapps if single log out is True?

https://docs.djangoproject.com/en/2.0/topics/http/sessions/#clearing-the-session-store

manelclos avatar Feb 28 '18 19:02 manelclos