mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Bitwarden mobile clients do not retain self-hosted URIs after being dismissed from the task switcher and/or after turning the phone off.

Open SergeantConfused opened this issue 1 year ago • 4 comments
trafficstars

Steps To Reproduce

  1. Point the iOS client to a self-hosted server.
  2. Log in.
  3. Navigate to Settings > Account security and tap on (Log out).
  4. Return to the phone's home screen.
  5. Open the task switcher and dismiss (pull up) Bitwarden.
  6. Open Bitwarden anew.

Expected Result

The client should retain the self-hosted URIs.

Actual Result

The client is pointing to Bitwarden.com.

Screenshots or Videos

N/A

Additional Context

  1. Same thing happens if you turn an Android or iOS device off and back on, after logging out; Tested with Android 12.
  2. This also happens if you select Bitwarden.eu as the server.

Operating System

Android, iOS

Operating System Version

17.2.1

Device

iPhone SE (2020)

Build Version

2023.12.0

Beta

  • [ ] Using a pre-release version of the application.

SergeantConfused avatar Jan 01 '24 14:01 SergeantConfused

I am not sure if this should be fixed with the newest 2024.1 update, but sadly it does not seem to be fixed.

c0ball avatar Jan 11 '24 08:01 c0ball

Hallo, I tested it whith the latest update (2024.1). The problem still exist. The self-hosted URL has disappeared after restarting the phone or open the task switcher and dismiss (pull up) Bitwarden.

EricB2024 avatar Jan 11 '24 18:01 EricB2024

Hello Raphael,I tested it whith the latest update (2024.1). The problem still exist. The self-hosted URL has disappeared after restarting the phone or open the task switcher and dismiss (pull up) Bitwarden.Kind regeards,EricOp 11 jan 2024 om 09:12 heeft Raphael @.***> het volgende geschreven: I am not sure if this should be fixed with the newest 2024.1 update, but sadly it does not seem to be fixed.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

EricB2024 avatar Jan 12 '24 09:01 EricB2024

Can the solution to this problem be included in the next Bitwarden app update?

EricB2024 avatar Jan 13 '24 16:01 EricB2024

Unfortunately, I have not received an answer to my question as to when this issue will be resolved. Is this known by now?

EricB2024 avatar Apr 14 '24 09:04 EricB2024

Hi @EricB2024,

Thank you for checking up on this. Could you please let me know if you're still able to reproduce this on Bitwarden 2024.4.2 on iOS 17.4.1? I tested this by configuring a self-hosted server, entering my email address, toggling (Remember me), entering my master password and logging in, and then setting the Vault Timeout Action to Log out and dismissing Bitwarden from the Task Switcher; After opening Bitwarden anew, the self-hosted URI was set configured.

Thank you in advance,

SergeantConfused avatar May 06 '24 13:05 SergeantConfused

@SergeantConfused I can confirm that when configuring a self-hosted environment, logging in and setting the timeout action to logout will preserve the server configuration. The sole issue that I have observed is that upon pressing the log-out button manually, the server configuration does not persist.

c0ball avatar May 06 '24 13:05 c0ball

I have tested it: If I set the action for the session timeout setting to 'Log out' in the app, the self-hosted URL remains. If I choose 'Log out' in the app, the self-hosted URL disappears.

EricB2024 avatar May 11 '24 13:05 EricB2024

I have tested it: If I set the action for the session timeout setting to 'Log out' in the app, the self-hosted URL remains. If I choose 'Log out' in the app, the self-hosted URL disappears.

EricB2024 avatar May 11 '24 13:05 EricB2024

I am not sure if this should be fixed with the newest 2024.1 update, but sadly it does not seem to be fixed.

Hallo, I tested it whith the latest update (2024.1). The problem still exist. The self-hosted URL has disappeared after restarting the phone or open the task switcher and dismiss (pull up) Bitwarden.

Hello Raphael,I tested it whith the latest update (2024.1). The problem still exist. The self-hosted URL has disappeared after restarting the phone or open the task switcher and dismiss (pull up) Bitwarden.Kind regeards,EricOp 11 jan 2024 om 09:12 heeft Raphael @.***> het volgende geschreven: I am not sure if this should be fixed with the newest 2024.1 update, but sadly it does not seem to be fixed.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Can the solution to this problem be included in the next Bitwarden app update?

Unfortunately, I have not received an answer to my question as to when this issue will be resolved. Is this known by now?

Hi @EricB2024,

Thank you for checking up on this. Could you please let me know if you're still able to reproduce this on Bitwarden 2024.4.2 on iOS 17.4.1? I tested this by configuring a self-hosted server, entering my email address, toggling (Remember me), entering my master password and logging in, and then setting the Vault Timeout Action to Log out and dismissing Bitwarden from the Task Switcher; After opening Bitwarden anew, the self-hosted URI was set configured.

Thank you in advance,

@SergeantConfused I can confirm that when configuring a self-hosted environment, logging in and setting the timeout action to logout will preserve the server configuration. The sole issue that I have observed is that upon pressing the log-out button manually, the server configuration does not persist.

I have tested it: If I set the action for the session timeout setting to 'Log out' in the app, the self-hosted URL remains. If I choose 'Log out' in the app, the self-hosted URL disappears.

I have tested it: If I set the action for the session timeout setting to 'Log out' in the app, the self-hosted URL remains. If I choose 'Log out' in the app, the self-hosted URL disappears.

Running 2024.5.1 on Android. I can also confirm that setting session timeout to "Log out" makes the app retain the self-hosted URL. It retains it both on timeout and also on swiping the app away. If session timeout is set to "Lock" it will consistently forget the self-hosted settings and revert to "bitwarden.com" once you swipe the app away or restart the phone (basically if the app needs to "cold-start" and can't be recalled from memory).

Can this bug be fixed in the upcoming update of the app?