Skip to main content

Add Universal Second Factor (U2F)

POST 

https://$CUSTOM-DOMAIN/auth/v1/users/me/auth_factors/u2f

Add a new Universal Second Factor (U2F) to the authenticated user. U2F is a device-dependent authentication like FingerScan, FaceID, WindowHello, etc. The factor has to be verified after adding. Multiple factors can be added.

Request​

Body

required

    object

Responses​

A successful response.

Schema

    key

    object

    publicKey byte

    json representation of public key credential creation options used by the webauthn client

    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

    creationDate date-time

    on read: the timestamp of the first event of the object

    on create: 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

    resourceOwner resource_owner is the organization an object belongs to (string)
curl -L 'https://$CUSTOM-DOMAIN/auth/v1/users/me/auth_factors/u2f' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{}'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN/auth/v1
Auth
Body required
{}
ResponseClear

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