Skip to content

Passkey in server-unavailable environment gives authentication error on GitHub #1186

Open
@holow29

Description

@holow29

Steps To Reproduce

  1. Have an existing passkey for Github that is created and synced to your vault
  2. Create an environment where the vault cannot sync (offline, not on local BW server network, etc.)
  3. Try to login to GitHub using passkey

Expected Result

Login succeeds with successful passkey authentication

Actual Result

Gets to vault unlock screen and both FaceID/mp succeed but window stays open/nothing happens. Then GitHub throws an “Authentication error”

Screenshots or Videos

No response

Additional Context

Passkey works once vault is synced again online and shortly after even if it loses connectivity to the vault server again. However after a while, the passkey will stop working again. I’m guessing this applies to more than just GitHub, but I have reproduced multiple times on GitHub.

Build Version

1680

What server are you connecting to?

Self-host

Self-host Server Version

2024.11.0

Environment Details

iPhone 14 Pro
iOS 18.1.1

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions