Skip to content

Use idle-based timer for auto-lock behavior #2082

@piyalbasu

Description

@piyalbasu

Currently, a user's session is hardcoded at 24 hours. If a user's session is expired and the app is not open, on next open, the user will be prompted to enter their password. That's a very common UX and something most users are comfortable with.

If, however, a user's session expires (meaning they hit the 24 hour mark) while the app is open, the next time we need their private key (like when signing a tx in the send/swap or change trust flow), we will prompt them for their password. This can be disruptive to the UX and it also may be unclear to users why we're suddenly asking for their password.

Acceptance Criteria:

  • Document the problem and some possible solutions to this
  • Present these solutions to the team and reach consensus on the best solution
  • Have the security team vet this solution (if we we're making a big change)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions