w3c / webauthn

Web Authentication: An API for accessing Public Key Credentials
https://w3c.github.io/webauthn/
Other
1.19k stars 178 forks source link

Prescriptive behaviours for Autofill UI #1800

Open sbweeden opened 2 years ago

sbweeden commented 2 years ago

Proposed Change

Following on from the discussion held at the TPAC face-to-face in Vancouver...

In order to ensure consistent capability from the autofill UI, there is a desire for the specification to describe more formally certain capabilities that should be exposed. For example, when navigator.credentials.get is invoked with mediation: "conditional" :

The ask here is that the spec mandate that implementations of the autofill UI offer these capabilities.

nsatragno commented 2 years ago

From TPAC: we agreed to have some language specifying that discoverable credentials should be accessible through conditional ui regardless of what hardware shape their authenticator takes -- even roaming authenticators. This is equivalent to saying that "passkey from a nearby device" should show an option for security keys & hybrid even if there are no credentials available on the device -- but without specifying actual UI (which is out of scope for the spec).

codylerum commented 1 year ago

I assume that this would allow for the "Passkey from a nearby device" prompt to be shown even if the browser does not support isUserVerifyingPlatformAuthenticatorAvailable?

This would allow for devices which do not have a platform authenticator to still use the "Passkey from a nearby device" feature (maybe as long as they have bluetooth enabled)