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)
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: