🐛 Bug Report: Face ID Authentication Fails for Bitwarden Passkey on iPhone #328

Closed
opened 2025-10-09 16:40:00 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @binuengoor on GitHub.

Reproduction steps

When using Pocket-ID with Bitwarden passkey authentication on iPhone, the app automatically locates and prompts for the Bitwarden passkey. However, after authenticating via Face ID, an error occurs stating: "Something went wrong, please try again." This issue does not occur on macOS, where the process works as expected(prompts for the passkey and authenticates correctly).

The logs indicate a failure to look up the client-side discoverable credential. Details from the log are provided below.


Steps to Reproduce

  1. Open Pocket-ID on iPhone.
  2. Attempt to authenticate using Bitwarden passkey.
  3. Face ID is prompted for authentication.
  4. After completing Face ID authentication, an error message appears: "Something went wrong, please try again."

Please note:

  • The issue is specific to iPhone; macOS works without any problems.
  • The error in the logs suggests a problem with locating the client-side discoverable credential.

Expected behavior

Authentication via Face ID should complete successfully, allowing access to the application.

Actual Behavior

Authentication fails with an error message: "Something went wrong, please try again."

Version and Environment

0.35.3

Log Output

pocket-id  | Error #01: Failed to lookup Client-side Discoverable Credential: record not found
pocket-id  | [GIN] 2025/02/28 - 11:47:17 | 500 |     267.984µs |      10.1.1.249 | POST     "/api/webauthn/login/finish"
pocket-id  | Error #01: Failed to lookup Client-side Discoverable Credential: record not found
Originally created by @binuengoor on GitHub. ### Reproduction steps When using **Pocket-ID** with **Bitwarden passkey authentication** on iPhone, the app automatically locates and prompts for the Bitwarden passkey. However, after authenticating via Face ID, an error occurs stating: *"Something went wrong, please try again."* This issue does not occur on macOS, where the process works as expected(prompts for the passkey and authenticates correctly). The logs indicate a failure to look up the client-side discoverable credential. Details from the log are provided below. --- ### Steps to Reproduce 1. Open Pocket-ID on iPhone. 2. Attempt to authenticate using Bitwarden passkey. 3. Face ID is prompted for authentication. 4. After completing Face ID authentication, an error message appears: *"Something went wrong, please try again."* Please note: - The issue is specific to iPhone; macOS works without any problems. - The error in the logs suggests a problem with locating the client-side discoverable credential. ### Expected behavior Authentication via Face ID should complete successfully, allowing access to the application. ### Actual Behavior Authentication fails with an error message: *"Something went wrong, please try again."* ### Version and Environment 0.35.3 ### Log Output ```plaintext pocket-id | Error #01: Failed to lookup Client-side Discoverable Credential: record not found pocket-id | [GIN] 2025/02/28 - 11:47:17 | 500 | 267.984µs | 10.1.1.249 | POST "/api/webauthn/login/finish" pocket-id | Error #01: Failed to lookup Client-side Discoverable Credential: record not found ```
OVERLORD added the bug label 2025-10-09 16:40:00 +03:00
Author
Owner

@binuengoor commented on GitHub:

thank you. that was it. I removed and readded the key and its working as expected.

@binuengoor commented on GitHub: thank you. that was it. I removed and readded the key and its working as expected.
Author
Owner

@stonith404 commented on GitHub:

This must be an issue with Bitwarden. Failed to lookup Client-side Discoverable Credential: record not found means that this passkey doesn't exist in the database. I'm using Bitwarden on my iPhone too and it's working.

Maybe the passkey didn't get synced correctly to your iPhone. Could it be that you iPhone is using an old passkey that you've removed from Pocket ID? If nothing works try to remove the passkey from Bitwarden and Pocket ID and register a new one.

@stonith404 commented on GitHub: This must be an issue with Bitwarden. `Failed to lookup Client-side Discoverable Credential: record not found` means that this passkey doesn't exist in the database. I'm using Bitwarden on my iPhone too and it's working. Maybe the passkey didn't get synced correctly to your iPhone. Could it be that you iPhone is using an old passkey that you've removed from Pocket ID? If nothing works try to remove the passkey from Bitwarden and Pocket ID and register a new one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#328