Page MenuHomePhabricator

Add "remember me" support
Closed, ResolvedPublic

Description

AuthManager offers support for allowing a user to remain logged in beyond the current session. If the "rememberMe" parameter is sent back with (any) value with the login request, the server will return a login cookie for this purpose.

So, this task consists of:
-Adding a "remember me" checkbox to the login layout and updating the API request based on its contents;
-Testing to ensure that the login cookie is returned and handled as expected and the login persists across sessions.

http://authmanager.wmflabs.org/w/api.php?action=query&meta=authmanagerinfo&amirequestsfor=login

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptMay 18 2016, 3:17 PM

Discussed this at grooming/triage. We're not sure whether to expose this as a choice to the user or just always send rememberMe (which seems to be the current behavior). Let's discuss as an Open Question.

Dbrant closed this task as Resolved.Mar 30 2018, 12:12 AM
Dbrant claimed this task.
Dbrant added a subscriber: Dbrant.

We're currently sending rememberMe unconditionally, and that seems to meet the users' needs. Please reopen if there are reasons *not* to send rememberMe in all cases.