You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to cause the logout (mycasserver.com/cas/logout) to force sessions to be cleared using the clear_sessions function so that all domains will be logged out of (I created a gateway to log into the other domains automatically if one is logged into).
The new logout function in views.py is:
ProxyGrantingTicket.objects.filter(session_key=request.session.session_key).delete()
SessionTicket.objects.filter(session_key=request.session.session_key).delete()
next_page = next_page or get_redirect_url(request)
clean_sessions(get_cas_client(request=request), request)
where I added the clean_sessions line below the default (original) lines you see above it.
The text was updated successfully, but these errors were encountered:
I'm attempting to cause the logout (mycasserver.com/cas/logout) to force sessions to be cleared using the clear_sessions function so that all domains will be logged out of (I created a gateway to log into the other domains automatically if one is logged into).
The new logout function in views.py is:
where I added the clean_sessions line below the default (original) lines you see above it.
The text was updated successfully, but these errors were encountered: