iOS passkey intermittently works #1843

Closed
opened 2025-11-26 22:59:34 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @ilbarone87 on GitHub (Apr 8, 2024).

When freshly installed it correctly prompts for bitwarden as main choice for the passkey login. If a bitwarden entry without a passkey created is selected by mistake then the login fails as expected but on the next passkey login flow attempt doesn’t show anymore bitwarden as main choice for the login but prompts the menu with the 3 choices:

  • iPhone, iPad,…
  • Security key
  • Bitwarden
    And even if the correct bitwarden entry with the correct passkey is selected still fails until the app doesn't get reinstalled, a log out and log back in is performed or block the vault and unblock it.

Steps To Reproduce

  1. Login to any service with a passkey
  2. Logout
  3. Try to login again
  4. This time will fail
  5. Uninstall the app
  6. Re-install
  7. Try to login again with passkey and this time will work again

Expected Result

To login correctly every time with passkey

Actual Result

Getting this error on some services that provides a failed log flow feedback:
The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

Screenshots or Videos

No response

Additional Context

iOS beta: version 2024.3.3

Operating System

iOS

Operating System Version

17.4.1

Device

iPhone 12

Build Version

NA

Beta

  • Using a pre-release version of the application.
Originally created by @ilbarone87 on GitHub (Apr 8, 2024). When freshly installed it correctly prompts for bitwarden as main choice for the passkey login. If a bitwarden entry without a passkey created is selected by mistake then the login fails as expected but on the next passkey login flow attempt doesn’t show anymore bitwarden as main choice for the login but prompts the menu with the 3 choices: - iPhone, iPad,… - Security key - Bitwarden And even if the correct bitwarden entry with the correct passkey is selected still fails until the app doesn't get reinstalled, a log out and log back in is performed or block the vault and unblock it. ### Steps To Reproduce 1. Login to any service with a passkey 2. Logout 3. Try to login again 4. This time will fail 5. Uninstall the app 6. Re-install 7. Try to login again with passkey and this time will work again ### Expected Result To login correctly every time with passkey ### Actual Result Getting this error on some services that provides a failed log flow feedback: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. ### Screenshots or Videos _No response_ ### Additional Context iOS beta: version 2024.3.3 ### Operating System iOS ### Operating System Version 17.4.1 ### Device iPhone 12 ### Build Version NA ### Beta - [X] Using a pre-release version of the application.
GiteaMirror added the bug label 2025-11-26 22:59:34 -06:00
Author
Owner

@SergeantConfused commented on GitHub (Apr 9, 2024):

Hi @ilbarone87,

Thank you for your report. I tested this at WebAuthn.io by registering and saving that new passkey into my Bitwarden vault via Safari, and then I attempted to authenticate using that newly-saved passkey, which worked as expected, and afterwards I tried to authenticate again and selected a vault item that has no passkey saved inside it, and it failed as expected; At this point, I tried to authenticate again and Bitwarden was offered first, and the menu said "Sign in with your passkey?" with the Bitwarden logo and a blue (Continue) button, and I was able to successfully authenticate after tapping on (Continue). I tested this on an iPhone SE (2020) with iOS 17.4.1 and Bitwarden 2024.3.3 via TestFlight.

Could you please let me know how I can test this again in order to reproduce this?

Thank you in advance,

@SergeantConfused commented on GitHub (Apr 9, 2024): Hi @ilbarone87, Thank you for your report. I tested this at [WebAuthn.io](https://webauthn.io/) by registering and saving that new passkey into my Bitwarden vault via Safari, and then I attempted to authenticate using that newly-saved passkey, which worked as expected, and afterwards I tried to authenticate again and selected a vault item that has no passkey saved inside it, and it failed as expected; At this point, I tried to authenticate again and Bitwarden was offered first, and the menu said "Sign in with your passkey?" with the Bitwarden logo and a blue (Continue) button, and I was able to successfully authenticate after tapping on (Continue). I tested this on an iPhone SE (2020) with iOS 17.4.1 and Bitwarden 2024.3.3 via TestFlight. Could you please let me know how I can test this again in order to reproduce this? Thank you in advance,
Author
Owner

@ilbarone87 commented on GitHub (Apr 9, 2024):

Is there a way I can grab some logs for you? Enabling them in bitwarden? I self host my instance btw.

@ilbarone87 commented on GitHub (Apr 9, 2024): Is there a way I can grab some logs for you? Enabling them in bitwarden? I self host my instance btw.
Author
Owner

@ilbarone87 commented on GitHub (May 6, 2024):

Moved to stable release works fine now

@ilbarone87 commented on GitHub (May 6, 2024): Moved to stable release works fine now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1843