webauthn icon indicating copy to clipboard operation
webauthn copied to clipboard

Add `challengeUrl`

Open nsatragno opened this issue 5 months ago • 15 comments

WebAuthn challenges usually need to be fetched from the server. This introduces extra latency, especially in cases where the page is loaded from offline storage and apps. This extra latency delays when WebAuthn credentials can be shown to the user in an empty allow-list request.

Proposed Change

Add a challengeUrl parameter that lets authenticators (or user agents) asynchronously fetch the challenge. This would let browsers render the list of credentials before the challenge comes back, improving the user experience. Add feature detection for it.

This obsoletes issue #1856.

nsatragno avatar Sep 24 '24 22:09 nsatragno