Closed thaoula closed 4 months ago
Hello @thaoula I've seen this before, InvalidStateError
doesn't get raised by iCloud Keychain so you can register over and over but only ever have a single passkey for a site. The RP thinks you've registered multiple passkeys though, and has no way to know otherwise because of the lack of an InvalidStateError
error from the WebAuthn call.
I thought the situation had improved recently but you appear to be on the latest macOS. I can ask around and confirm that this is simply a fact of life with the first-party Apple passkey provider 🫠
Describe the issue
Hi Team,
I am using MacOS Sanoma 14.5 and I have a strange issue with the registration process creating two passkeys.
One of the passkeys will work (allow login) and the other one will not work (passkey not found). Also, deleting one of the passkeys in the Mac passwords section in settings will actually delete both passkeys.
Initially I thought this was a Safari issue but it seems to be MacOS related. Chrome, Firefox and Safari result in exactly two passkeys being registered on the Mac.
In contrast. I also have 1password installed on my computer. It has support for generating passkeys and is active as a browser plugin only in Chrome. When I register for a passkey in Chrome, 1password attempts to answer first and it successfully creates a single Passkey as expected.
I could not find anyone else having this issue.
Kind Regards, Tarek
Reproduction Steps
Expected behavior
Code Samples + WebAuthn Options and Responses
Dependencies
SimpleWebAuthn Libraries
├── @simplewebauthn/browser@10.0.0 ├── @simplewebauthn/types@10.0.0
Additional context