[GH-ISSUE #6666] [PM-33579] With unlock method set and timeout action logout, closing the app forces a logout #15123

Closed
opened 2026-04-15 01:30:24 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @0xn1h1Lo on GitHub (Mar 13, 2026).
Original GitHub issue: https://github.com/bitwarden/android/issues/6666

Steps To Reproduce

Configuration

  • Session timeout: Custom = 12 hours
  • Vault timeout action: Log out
  • Unlock with biometrics: Enabled

Steps to Reproduce

  1. Log into Bitwarden Android app.
  2. Set:
    • Vault timeout = Custom 12 hours
    • Vault timeout action = Logout
    • Fingerprint unlock enabled
  3. Use the app normally, then force-kill it from recents/app switcher (or system app info -> force stop if applicable).
  4. Reopen Bitwarden just after, need to login and Fingerprint unlock is disabled in settings

Expected Result

App should not require full login until the configured timeout period (12 hours) is reached.
Before timeout is reached, reopen should not behave as timed-out logout.

Actual Result

Bitwarden requires full login flow after restarting the app.

Screenshots or Videos

No response

Additional Context

This also happens when setting a PIN instead of the fingerprint unlock.

Build Version

2026.2.1

What server are you connecting to?

Self-host

Self-host Server Version

Self hosting, but that seems a client-side issue

Environment Details

This is on a Pixel 10 with GrapheneOS

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Originally created by @0xn1h1Lo on GitHub (Mar 13, 2026). Original GitHub issue: https://github.com/bitwarden/android/issues/6666 ### Steps To Reproduce ## Configuration - Session timeout: **Custom = 12 hours** - Vault timeout action: **Log out** - Unlock with biometrics: **Enabled** ## Steps to Reproduce 1. Log into Bitwarden Android app. 2. Set: - Vault timeout = Custom 12 hours - Vault timeout action = Logout - Fingerprint unlock enabled 3. Use the app normally, then force-kill it from recents/app switcher (or system app info -> force stop if applicable). 4. Reopen Bitwarden just after, need to login and Fingerprint unlock is disabled in settings ### Expected Result App should not require full login until the configured timeout period (12 hours) is reached. Before timeout is reached, reopen should not behave as timed-out logout. ### Actual Result Bitwarden requires full login flow after restarting the app. ### Screenshots or Videos _No response_ ### Additional Context This also happens when setting a PIN instead of the fingerprint unlock. ### Build Version 2026.2.1 ### What server are you connecting to? Self-host ### Self-host Server Version Self hosting, but that seems a client-side issue ### Environment Details This is on a Pixel 10 with GrapheneOS ### Issue Tracking Info - [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
GiteaMirror added the app:password-managerbug labels 2026-04-15 01:30:24 -05:00
Author
Owner

@bitwarden-bot commented on GitHub (Mar 13, 2026):

Thank you for your report! We've added this to our internal board for review.
ID: PM-33579

<!-- gh-comment-id:4057470126 --> @bitwarden-bot commented on GitHub (Mar 13, 2026): Thank you for your report! We've added this to our internal board for review. ID: [PM-33579](https://bitwarden.atlassian.net/browse/PM-33579) [PM-33579]: https://bitwarden.atlassian.net/browse/PM-33579?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Author
Owner

@pamperer562580892423 commented on GitHub (Mar 13, 2026):

Could you please add in the app/device details by copy & paste from: BW mobile app Settings --> About --> Version?

And from https://bitwarden.com/help/vault-timeout/ :

"Session timeout options determine whether Password Manager vault will automatically log out or lock after a specified period of inactivity."

(emphasis my edit)

When you force close the app, then you also "close" that period of inactivity, therefore it times out and that results in the chosen timeout action - in your case: Log out.

<!-- gh-comment-id:4057548038 --> @pamperer562580892423 commented on GitHub (Mar 13, 2026): Could you please add in the app/device details by copy & paste from: BW mobile app Settings --> About --> Version? And from https://bitwarden.com/help/vault-timeout/ : "Session timeout options determine whether Password Manager vault will automatically log out or lock **after a specified period of inactivity**." (emphasis my edit) When you force close the app, then you also "close" that _period of inactivity_, therefore it _times out_ and that results in the chosen timeout action - in your case: Log out.
Author
Owner

@0xn1h1Lo commented on GitHub (Mar 13, 2026):

Thanks for the answer. Version:

© Bitwarden Inc. 2015-2026

Version: 2026.2.1 (21297)
📱 google Pixel 8 🤖 16@36 📦 prod
🧱 commit: bitwarden/android/release/2026.2-rc47@6902c19c0093fa476bbf74ccaa70c9f14afbb82f
💻 build source: bitwarden/android/actions/runs/22503857145/attempts/1
🦀 SDK: 2.0.0-5210-4ffddfe5
🌩 Server: Vaultwarden 2025.12.0

I had just looked at the logout description in the app, and I was hoping I could achieve something like unlock with fingerprint in normal use and if I don't unlock within X hours, the app would log out.

It was not obvious to me that killing closing the app would trigger the timeout.

<!-- gh-comment-id:4057577329 --> @0xn1h1Lo commented on GitHub (Mar 13, 2026): Thanks for the answer. Version: © Bitwarden Inc. 2015-2026 Version: 2026.2.1 (21297) 📱 google Pixel 8 🤖 16@36 📦 prod 🧱 commit: bitwarden/android/release/2026.2-rc47@6902c19c0093fa476bbf74ccaa70c9f14afbb82f 💻 build source: bitwarden/android/actions/runs/22503857145/attempts/1 🦀 SDK: 2.0.0-5210-4ffddfe5 🌩 Server: Vaultwarden 2025.12.0 I had just looked at the logout description in the app, and I was hoping I could achieve something like unlock with fingerprint in normal use and if I don't unlock within X hours, the app would log out. It was not obvious to me that killing closing the app would trigger the timeout.
Author
Owner

@cbbit commented on GitHub (Mar 16, 2026):

Hi there,

Your issue appears to be describing the intended behavior of the software. If you want this to be changed, it would be a feature request.

We use GitHub issues as a place to track bugs and other development related issues. The Bitwarden Community Forums has a Feature Requests section for submitting, voting for, and discussing requests like this one: https://community.bitwarden.com/c/feature-requests/

Please sign up on our forums (https://community.bitwarden.com/signup) and search to see if this request already exists. If so, you can vote for it and contribute to any discussions about it. If not, you can re-create the request there so that it can be properly tracked.

This issue will now be closed.

Thanks!

<!-- gh-comment-id:4067861013 --> @cbbit commented on GitHub (Mar 16, 2026): Hi there, Your issue appears to be describing the intended behavior of the software. If you want this to be changed, it would be a feature request. We use GitHub issues as a place to track bugs and other development related issues. The Bitwarden Community Forums has a Feature Requests section for submitting, voting for, and discussing requests like this one: https://community.bitwarden.com/c/feature-requests/ Please sign up on our forums (https://community.bitwarden.com/signup) and search to see if this request already exists. If so, you can vote for it and contribute to any discussions about it. If not, you can re-create the request there so that it can be properly tracked. This issue will now be closed. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#15123