[webauthn] Allow conditional and modal flows to run simultaneously (#1854)

dolda2000 has just created a new issue for https://github.com/w3c/webauthn:

== Allow conditional and modal flows to run simultaneously ==
## Proposed Change

Currently, if a website wants to use a UI that allows for both conditional mediation, and various modal flows (discoverable or otherwise), and has to implement a somewhat complex state machine where the conditional flow is interrupted when a modal flow is initiated, but only of conditional mediation was available to begin with, and so on and so forth. In my opinion, it is quite complex, with many potential ways to go wrong.

I know the specification contained language since before conditional mediation was added to the effect that only one WebAuthn request is allowed to be active at one time, but, unless I'm missing something, I see no obvious reason why this could not be changed to allow one conditional and one modal request to be active simultaneously. Perhaps this would be more complex to implement in browsers than is obvious to me, but allowing such concurrency would greatly simplify many potential WebAuthn UIs.

Is this a reasonable suggestion?

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1854 using your GitHub account


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

Received on Monday, 20 February 2023 03:01:00 UTC