WeblateOrg / WeblateOrg/weblate

Save 2FA sessions

Open
#21,532 0 comments 0 reactions 0 assignees View on GitHub
Area: Auth Area: UX enhancement hosted Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the problem

Having to log-in very often due to short sessions is uncomfortable with password manager and passkeys alike, but needing to insert an OTP every time is annoying.

### Solution brainstorm

It would be great to enable saving a session (use "_save this browser for # days_" wording) with a checkbox next to the OTP field for some period of time (like 30 or 60 days), to prevent asking the user for OTP too often. Many services have that; it should not lower security much.

### Describe alternatives you have considered

_No response_

### Screenshots

_No response_

### Additional context

It would be great to implement the following two related issues as well while working on this:

- https://github.com/WeblateOrg/weblate/issues/12250
- https://github.com/WeblateOrg/weblate/issues/16431

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing related issues #12250 and #16431, then trace the existing OTP and session flow; done should include an option beside the OTP field to remember the browser for a defined period such as 30 or 60 days.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.