bitwarden / bitwarden/ios

Cannot login with passkey

Open
#1,315 16 comments 0 reactions 0 assignees View on GitHub
app:password-manager bug bug-passkey
Dominant language
Swift
Stars
684
Forks
154
Avg merge
7d 2h
Merged PRs (30d)
32

Description

### Steps To Reproduce

1. Go to https://webauthn.io/ (Tested with Firefox and Safari)
2. Click on Register
3. Create passkey in Bitwarden
4. Click on Authenticate

### Expected Result

IOS shows passkey and is able to authenticate with it.

### Actual Result

IOS does not show passkey and trying to choose Bitwarden and selecting it manually does not work.
Sometimes it detects that i have a passkey and then i click authenticate vault loads i login with face id vault closes nothing happens.
The bottom sheet is still open and the site reports an error.

### Screenshots or Videos

Bottom sheet stuck

https://github.com/user-attachments/assets/b086d57f-eb2f-4254-bd8d-0c7385d39d43

Not finding the passkey at all

https://github.com/user-attachments/assets/32169e19-1b8d-4e16-91cb-2d0fe032e944

Empty vault working perfectly

https://github.com/user-attachments/assets/6bf17c81-a167-45d8-9834-1aa13340a6cf

### Additional Context

With an empty vault this works. There has to be something in my data that breaks the App.
Maybe i will try to debug the app myself later to give some more context.

i tested this with Firefox and safari same behavior

### Build Version

2025.1.2 (1867))

### What server are you connecting to?

US

### Self-host Server Version

_No response_

### Environment Details

Iphone 14 Plus and Ipad Air
IOS 18.3

### 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.

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. First reproduce the passkey flow on the listed iPhone or iPad with a populated vault, then compare it with the empty-vault case; the work is done when the passkey is found and authentication completes successfully in Firefox and Safari.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.