Skip to main content

Start the registration of a u2f token for a user

POST 

https://$CUSTOM-DOMAIN/v2/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)
    creationDate date-time
    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

curl -L 'https://$CUSTOM-DOMAIN/v2/users/:userId/u2f' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"domain": "string"
}'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN
Auth
Parameters
— pathrequired
Body required
{
  "domain": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!