This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.
Clear cookies (if present) when clearing session in header mode
This is just a proposal so far, it hasn't been accepted and needs further discussion.
- rishabhpoddar, porcellus
- Proposed by:
#Context and Problem Statement
We can choose to clear or leave a cookie based session if present when logging out using header based auth
Clear, because othewise a session might get stuck (or 2 sessions might be present) after logout.