@prologic@twtxt.net I do NOT claim to be an expert in that realm. Iā€™ve seen different things being implemented in the guise of ā€œremember meā€. But I reckon the most common scheme, when this checkbox is activated, is to issue a dedicated, long-lived refresh token in a login cookie. Iā€™m sure it is known under several different names. This ā€œremember meā€ login cookie is separate from the actual short-lived session cookie.

Part 2 of this answer explains it fairly well: https://stackoverflow.com/a/477578 Also, this was a nice read: https://web.archive.org/web/20180819014446/http://jaspan.com/improved_persistent_login_cookie_best_practice

It depends on your threat model, but the use of public computers in libraries, internet cafĆ©s or similar is probably the most relevant here, when arguing against activating ā€œremember meā€. These days, shared computer use is declining Iā€™d assume. With twtxt being a niche for more computer-affine folks, Iā€™d reckon this threat is not that high up the list. On the hand, you want to bring yarnd to the average non-nerd user, so this threat might actually rank more important.

Itā€™s probably okay and safe enough to remove ā€œremember meā€ entirely and just issue a long-lived session cookie and be done with that. Optionally, power users or the administrator could benefit from configurable cookie lifetime(s).

ā¤‹ Read More

@prologic@twtxt.net @eldersnake@we.loveprivacy.club Iā€™d avoid the inverted logic. Checking a setting to disable a feature always feels wrong and confusing to me. Iā€™d rather suggest to enable the checkbox by default. But Iā€™m with you, an explanation what it does is definitely helpful. Maybe something along those lines: ā€œEnabling this feature will keep you logged in, even after closing your browser. Do not activate this setting on shared devices.ā€

ā¤‹ Read More

@prologic@twtxt.net Visiting the login page would give you something like this:

Username: _<focused field>____
Password: ____________________
[x] Remember me (Enabling this feature will keep
    you logged in, even after closing your browser.
    Do not active this setting on shared devices.)
[Login]

The ā€œremember meā€ checkbox could be already activated by default. This would benefit people like @bender@twtxt.net.

An alternative would be to make the session lifetime configurable in the user profile. So bender would then set this to forty-two years. :-) Definitely something for power users who know what theyā€™re doing. More dangerous for the average Joe, though.

ā¤‹ Read More

Participate

Login to join in on this yarn.