Re: [webauthn] Allow Conditional Mediation without autofill (#2144)

> Related to @MasterKale's comment: I agree this seems like this would be better expressed as new `mediation` option value that is mutually exclusive with `mediation: "conditional"`. For example, `mediation: "ambient"`. Since `mediation: undefined, display: "ambient"` is an error, the API would be better if that combination is impossible in the first place. Would that work?

I was preferring to add it to `PublicKeyCredentialRequestOptions` rather than adding it to `mediation` because it doesn't have any meaning for other credential types, and adding it to the Credential Management API is a heavier lift. The current definition of conditional mediation has the attribute defined in CM and the autofill integration defined in WebAuthn, so it also seems appropriate that overriding the latter part could be localized here.

For your concern about clarity, would it help if the new field was named `conditional-display`?

-- 
GitHub Notification of comment by kenrb
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2144#issuecomment-2343591426 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 11 September 2024 12:54:24 UTC