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
Describe the bug
We need to provide SameSite and Secure attributes when we clear cookie also as some browsers (Example, Brave) not clearing the cookie without SameSite: None and Secure attributes as they are needed for CORS.
To Reproduce
Steps to reproduce the behavior:
Login using flask-login with remember me as true
Verify that if remember me cookie is set
Logout
Verify that if remember me cookie is cleared or not
In my case it's not
Expected behavior
Remember cookie should be cleared
Describe the bug
We need to provide SameSite and Secure attributes when we clear cookie also as some browsers (Example, Brave) not clearing the cookie without
SameSite: None
andSecure
attributes as they are needed forCORS
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Remember cookie should be cleared
Screenshots
BRAVE BROWSER:
CHROME BROWSER:
We are sending
SameSite
andSecure
when we_set_cookie
but not in_clear_cookie
.Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: