Skip to content

Long-term storage and "remember me" checkboxes #58

Answered by zainazeem
2br-2b asked this question in Q&A
Discussion options

You must be logged in to vote

"Session" in the context of this project refers to the time from when the user logs in to when they log out, either purposefully or due to session expiry. "Remember me" checkboxes are there to tell the website/server to keep the session alive for longer before expiring. With JWTs, that would mean the server includes a longer-dated expiry time in the token and/or refresh token when it issues it. So those checkboxes would continue to work as they currently do, since the tokens get removed from the browser when the user purposefully logs out anyway, meaning there's no harm in also removing the private key upon logout under this proposal.

There's some good discussion in #46 about potentially …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 2br-2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants