Class PasskeyVerificationRequiredError

Thrown by signup() when the server requires identifier verification before passkey creation. Catch this error, collect OTP codes for each identifier in verificationRequired, then call passkey.continueSignup(codes) to complete the flow. The SDK retains the auth session internally — you do not need to pass it yourself.

Hierarchy (view full)

Constructors

Properties

data?: Record<string, any>

Any other fields from the server's error response (for example auth_session).

error: string

The error code from the server response.

error_description: string

The error_description from the server response.

verificationRequired: ("email" | "phone")[]

Methods