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
My client wants users to be logged out of the application when the browser closes(not tab). Unfortunately, it seems that on the frontend there is basically no difference between tab close and browser close events.
One way to achieve it with native Django session cookies is to set SESSION_EXPIRE_AT_BROWSER_CLOSE setting to True. It simply does not set the expiration date and the cookie is dismissed when the browser closes. Is the same possible here?
The text was updated successfully, but these errors were encountered:
GrayTable
changed the title
Possibility to set no expiration date on JWT cookie?
Possibility to set no expiration date on the JWT cookie?
May 11, 2021
My client wants users to be logged out of the application when the browser closes(not tab). Unfortunately, it seems that on the frontend there is basically no difference between tab close and browser close events.
One way to achieve it with native Django session cookies is to set
SESSION_EXPIRE_AT_BROWSER_CLOSE
setting toTrue
. It simply does not set the expiration date and the cookie is dismissed when the browser closes. Is the same possible here?The text was updated successfully, but these errors were encountered: