There are no matching passkeys saved in your iCloud Keychain for domain

I have an App that supports PassKeys, end-to-end tests work fine.

I also have a website that allows registration of PassKeys.

However, whenever I try to sign in to the website, I get the QR code popup, then I get use my phone to scan the QR code, a few seconds later I get:

There are no matching passkeys saved in your iCloud Keychain for https://example.com

I can clearly see passwords stored in my iCloud Keychain, and they work for the app, why aren't they being found?

It appears I get conflicting results, if my RP is the naked domain it works, If I visit my site with a www subdomain, auth fails :-(

gosh, ignore me, I found the magic, I had to set: "rpId" in navigator.credentials.get to be the naked domain

I’d also like to know! You make it seem simple. Hoping it is!!

There are no matching passkeys saved in your iCloud Keychain for domain
 
 
Q