Skip to main content

Start the registration of a u2f token for a user

POST 

/v2beta/users/:userId/u2f

Start the registration of a u2f token for a user, as a response the public key credential creation options are returned, which are used to verify the u2f token.

Request

Path Parameters

    userId stringrequired

Body

required

    domain string

    "Domain on which the user is authenticated."

Responses

OK

Schema

    details

    object

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    resourceOwner resource_owner is the organization or instance_id an object belongs to (string)
    u2fId string
    publicKeyCredentialCreationOptions object

    Options for Credential Creation (dictionary PublicKeyCredentialCreationOptions). Generated helper methods transform the field to JSON, for use in a WebauthN client. See also: https://www.w3.org/TR/webauthn/#dictdef-publickeycredentialcreationoptions

Loading...