Enroll WebAuthn

The schema for enrolling a user in WebAuthn (Web Authentication) for two-factor authentication.

Enroll WebAuthn

Title: Enroll WebAuthn

Typeobject
RequiredNo
Additional propertiesNot allowed

Description: The schema for enrolling a user in WebAuthn (Web Authentication) for two-factor authentication.

Example:

{
    "error": "Invalid credentials",
    "message": "Logout successful",
    "options": "<opaque string to be sent to the browser>"
}
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- errorNostringNo-Error
- messageNostringNo-Message
- optionsNostringNo-WebAuthn Options

1. Property Enroll WebAuthn > error

Title: Error

Typestring
RequiredNo

Description: Human-readable message to be displayed about an error that occurred

Example:

"Invalid credentials"

2. Property Enroll WebAuthn > message

Title: Message

Typestring
RequiredNo

Description: Human-readable message to display to the user. It being present is not indicative of an error

Example:

"Logout successful"

3. Property Enroll WebAuthn > options

Title: WebAuthn Options

Typestring
RequiredNo

Description: WebAuthn options for the user to enroll a new device