Documentation navigation

Auth

Authenticate with WebAuthn

Runs the WebAuthn authentication challenge and verification flow.

Parameters

factorIdstring
The enrolled factor ID.
webauthn.rpId?string
The relying-party ID. Defaults to the current hostname in a browser.
webauthn.rpOrigins?string[]
Allowed origins. Defaults to the current origin in a browser.
webauthn.signal?AbortSignal
Signal used to cancel the browser operation.
overrides?PublicKeyCredentialRequestOptions
Overrides passed to navigator.credentials.get.

Returns