passkeydeveloper / passkeys.dev

source for the passkeys.dev developer site
https://passkeys.dev
Other
143 stars 31 forks source link

Guide RP's to understand why passkeys won't show up in Chromium due to CredProtect-3 #295

Open abergs opened 7 months ago

abergs commented 7 months ago

Summary

We observed a behaviour which may be technically correct, but confusing to RPs. Because of how CredProtect-3 is used in chromium, it will make passkeys seem to not exist. I believe the behaviour and problem is related to this change/thread: https://lists.w3.org/Archives/Public/public-webauthn-adoption/2023Mar/0000.html

Scenario:

During authentication, the passkey will suprisingly work/not work depending on the options set:

I'm surprised how the use of allowCredentials causes the Security Key to be unusable, instead of simply requiring UV to enumerate. Either, this could be considered a bug in chromiums implementation OR we should provide documentation on this behaviour for RP's OR that allowCredentials should never be used with discoverable passkeys(?)

Video replicating the problem: https://share.cleanshot.com/DXKJGG9f

Proposed Content Type

Protocol Deep Dive, Other / Unknown