AzMoo / django-okta-auth

Django Okta Auth is a library that acts as a client for the Okta OpenID Connect provider.
MIT License
30 stars 23 forks source link

Cookies still set after logout, re-login same user #23

Closed csawye01 closed 2 years ago

csawye01 commented 2 years ago

ISSUE: After logging out with user1 and logging back in with user2, the session is still attributed to user1. Django's logout function clears the sessions cookies but does not clear all the cookies. When clearing all the cookies manually, this takes away the issue. Is there an easy way to override the okta_oauth2:logout with extra cookie clearing or is there a parameter set that should do this?