Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Remember Me Cookies not working with Frontend prototype when browser is closed and reopened #376

Closed
jkglasbrenner opened this issue Feb 13, 2024 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@jkglasbrenner
Copy link
Collaborator

Describe the bug

The Remember Me Cookie functionality is not working as expected on the Dioptra Flask app. The session persists when the tab is closed, but not when the browser is closed. The issue is that the frontend sends a response to clear the cookies when the browser is reopened. This did not happen in the Flask Prototype, so it might be due to an unexpected interaction with another library.

@jkglasbrenner jkglasbrenner added the bug Something isn't working label Feb 13, 2024
@jkglasbrenner jkglasbrenner added the wontfix This will not be worked on label May 13, 2024
@jkglasbrenner
Copy link
Collaborator Author

Based on researching the issue, it seems to be a consequence of setting the session protection to "strong" (https://flask-login.readthedocs.io/en/latest/#session-protection). Since this is the expected behavior, this will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant